diff options
Diffstat (limited to 'ipfs-api/src/response/file.rs')
-rw-r--r-- | ipfs-api/src/response/file.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ipfs-api/src/response/file.rs b/ipfs-api/src/response/file.rs index 3b670f7..b169e87 100644 --- a/ipfs-api/src/response/file.rs +++ b/ipfs-api/src/response/file.rs @@ -15,9 +15,11 @@ pub struct IpfsDetailedFile { pub hash: String, pub size: u64, - #[serde(rename = "Type")] pub typ: String, + #[serde(rename = "Type")] + pub typ: String, - #[serde(default)] pub links: Vec<IpfsHeader>, + #[serde(default)] + pub links: Vec<IpfsHeader>, } #[derive(Debug, Deserialize)] |