summaryrefslogtreecommitdiffstats
path: root/ipfs-api/src/response
diff options
context:
space:
mode:
authorFerris Tseng <ferristseng@fastmail.fm>2017-10-25 22:33:06 -0400
committerFerris Tseng <ferristseng@fastmail.fm>2017-10-25 22:33:06 -0400
commit6c1d62c1541b9ceb6d88d04fcb0190182845ade7 (patch)
treea5bd9870ff320f95fe8513e0a4655d7790b6a05f /ipfs-api/src/response
parent66ba58cb19682447c24538054dcf6cfeb49f00b6 (diff)
add file commands
Diffstat (limited to 'ipfs-api/src/response')
-rw-r--r--ipfs-api/src/response/file.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipfs-api/src/response/file.rs b/ipfs-api/src/response/file.rs
index 797235b..6fedde9 100644
--- a/ipfs-api/src/response/file.rs
+++ b/ipfs-api/src/response/file.rs
@@ -2,7 +2,7 @@ use response::{serde, IpfsHeader};
use std::collections::HashMap;
-#[derive(Deserialize)]
+#[derive(Debug, Deserialize)]
#[serde(rename_all = "PascalCase")]
pub struct IpfsDetailedFile {
pub hash: String,
@@ -16,7 +16,7 @@ pub struct IpfsDetailedFile {
}
-#[derive(Deserialize)]
+#[derive(Debug, Deserialize)]
#[serde(rename_all = "PascalCase")]
pub struct FileLsResponse {
#[serde(deserialize_with = "serde::deserialize_hashmap")]