Procházet zdrojové kódy

Add debug derive for Outputs

develop
Silvestr Predko před 2 roky
rodič
revize
f4613dc571
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  1. 2
    0
      near-rpc/src/client.rs

+ 2
- 0
near-rpc/src/client.rs Zobrazit soubor

@@ -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>,

Načítá se…
Zrušit
Uložit