瀏覽代碼

change enum's visibility

develop
Kyrylo Stepanov 2 年之前
父節點
當前提交
affb7275c5
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      common-api/src/api.rs

+ 1
- 1
common-api/src/api.rs 查看文件

@@ -44,7 +44,7 @@ pub struct NodeInfo {
44 44
 #[derive(Debug, Serialize, Deserialize)]
45 45
 #[serde(tag = "response", content = "body")]
46 46
 #[serde(rename_all = "snake_case")]
47
-enum ApiResponse<T> {
47
+pub enum ApiResponse<T> {
48 48
     Success(T),
49 49
     Timeout,
50 50
 }

Loading…
取消
儲存