summaryrefslogtreecommitdiffstats
path: root/ipfs-api/src/response/dag.rs
diff options
context:
space:
mode:
authorSimon Heath <icefoxen@gmail.com>2017-12-13 10:09:15 -0500
committerSimon Heath <icefoxen@gmail.com>2017-12-13 10:09:15 -0500
commit07e2fa7acaf2b0309263629af4543428c06e771d (patch)
tree09f476feb5b9fcbdc0d8cf77f3e6f019a08e67f1 /ipfs-api/src/response/dag.rs
parent45077f90db50fbcb4d13e94b2ee336bf06222b88 (diff)
Revert "Add basic derive's to all types"
Diffstat (limited to 'ipfs-api/src/response/dag.rs')
-rw-r--r--ipfs-api/src/response/dag.rs6
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,