summaryrefslogtreecommitdiffstats
path: root/ipfs-api/src/response/dag.rs
diff options
context:
space:
mode:
authorFerris Tseng <ferristseng@fastmail.fm>2017-10-11 12:58:14 -0400
committerFerris Tseng <ferristseng@fastmail.fm>2017-10-11 12:58:14 -0400
commit9b93207e13a39e3667f26859deaadaa1640316e8 (patch)
tree8b4ab7341ed1d217f1d2262f9a687ef3726b68dc /ipfs-api/src/response/dag.rs
parent06c7a6c911a97ff7f566a35fa6ab24a74aa719c2 (diff)
formatting
Diffstat (limited to 'ipfs-api/src/response/dag.rs')
-rw-r--r--ipfs-api/src/response/dag.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipfs-api/src/response/dag.rs b/ipfs-api/src/response/dag.rs
index 2e3c3a3..26d5f91 100644
--- a/ipfs-api/src/response/dag.rs
+++ b/ipfs-api/src/response/dag.rs
@@ -9,7 +9,7 @@ pub struct DagIpfsHeader {
pub size: u64,
#[serde(deserialize_with = "serde::deserialize_hashmap")]
- pub cid: HashMap<String, String>
+ pub cid: HashMap<String, String>,
}
@@ -18,7 +18,7 @@ pub struct DagGetResponse {
pub data: Option<String>,
#[serde(deserialize_with = "serde::deserialize_vec")]
- pub links: Vec<DagIpfsHeader>
+ pub links: Vec<DagIpfsHeader>,
}