瀏覽代碼

Merge pull request #85 from Relayz-io/silvestr/add-debug-derive

Add debug derive for Outputs
develop
Predko Silvestr 2 年之前
父節點
當前提交
c7ad63a5a7
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 2 行新增0 行删除
  1. 2
    0
      near-rpc/src/client.rs

+ 2
- 0
near-rpc/src/client.rs 查看文件

313
     }
313
     }
314
 }
314
 }
315
 
315
 
316
+#[derive(Debug)]
316
 pub struct ViewOutput<T: DeserializeOwned> {
317
 pub struct ViewOutput<T: DeserializeOwned> {
317
     logs: Vec<String>,
318
     logs: Vec<String>,
318
     data: T,
319
     data: T,
339
 }
340
 }
340
 
341
 
341
 /// Function call output.
342
 /// Function call output.
343
+#[derive(Debug)]
342
 pub struct Output {
344
 pub struct Output {
343
     transaction: ExecutionOutcomeWithIdView,
345
     transaction: ExecutionOutcomeWithIdView,
344
     logs: Vec<String>,
346
     logs: Vec<String>,

Loading…
取消
儲存