summaryrefslogtreecommitdiffstats
path: root/ipfs-api/src/response/dag.rs
diff options
context:
space:
mode:
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,