diff options
Diffstat (limited to 'ipfs-api/src/response/mod.rs')
-rw-r--r-- | ipfs-api/src/response/mod.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/ipfs-api/src/response/mod.rs b/ipfs-api/src/response/mod.rs index e42c067..f08b6dc 100644 --- a/ipfs-api/src/response/mod.rs +++ b/ipfs-api/src/response/mod.rs @@ -40,7 +40,6 @@ pub use self::swarm::*; pub use self::tar::*; pub use self::version::*; - /// Create a test to deserialize a file to the given instance. /// #[cfg(test)] @@ -58,7 +57,6 @@ macro_rules! deserialize_test { ) } - mod add; mod bitswap; mod block; @@ -92,7 +90,6 @@ mod swarm; mod tar; mod version; - #[derive(Debug, Deserialize)] #[serde(rename_all = "PascalCase")] pub struct IpfsHeader { @@ -100,6 +97,5 @@ pub struct IpfsHeader { pub hash: String, pub size: u64, - #[serde(rename = "Type")] - pub typ: Option<String>, + #[serde(rename = "Type")] pub typ: Option<String>, } |