瀏覽代碼

Add debug derive for Outputs

develop
Silvestr Predko 2 年之前
父節點
當前提交
f4613dc571
共有 1 個檔案被更改,包括 2 行新增0 行删除
  1. 2
    0
      near-rpc/src/client.rs

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

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

Loading…
取消
儲存