diff options
author | Simon Heath <icefoxen@gmail.com> | 2017-12-13 10:09:15 -0500 |
---|---|---|
committer | Simon Heath <icefoxen@gmail.com> | 2017-12-13 10:09:15 -0500 |
commit | 07e2fa7acaf2b0309263629af4543428c06e771d (patch) | |
tree | 09f476feb5b9fcbdc0d8cf77f3e6f019a08e67f1 /ipfs-api/src/response/dag.rs | |
parent | 45077f90db50fbcb4d13e94b2ee336bf06222b88 (diff) |
Revert "Add basic derive's to all types"
This reverts commit fc77980617d9ef179ecb1773f3d901f52790cfad.
Diffstat (limited to 'ipfs-api/src/response/dag.rs')
-rw-r--r-- | ipfs-api/src/response/dag.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ipfs-api/src/response/dag.rs b/ipfs-api/src/response/dag.rs index ae9ae1e..6d5e25b 100644 --- a/ipfs-api/src/response/dag.rs +++ b/ipfs-api/src/response/dag.rs @@ -10,7 +10,7 @@ use response::serde; use std::collections::HashMap; -#[derive(Deserialize, Debug, Clone, PartialEq, Eq)] +#[derive(Debug, Deserialize)] #[serde(rename_all = "PascalCase")] pub struct DagIpfsHeader { pub name: String, @@ -21,7 +21,7 @@ pub struct DagIpfsHeader { } -#[derive(Deserialize, Debug, Clone, PartialEq, Eq)] +#[derive(Debug, Deserialize)] pub struct DagGetResponse { pub data: Option<String>, @@ -30,7 +30,7 @@ pub struct DagGetResponse { } -#[derive(Deserialize, Debug, Clone, PartialEq, Eq, Hash)] +#[derive(Debug, Deserialize)] #[serde(rename_all = "PascalCase")] pub struct DagPutResponse { pub cid: String, |