summaryrefslogtreecommitdiffstats
path: root/ipfs-api/src/request/dag.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ipfs-api/src/request/dag.rs')
-rw-r--r--ipfs-api/src/request/dag.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipfs-api/src/request/dag.rs b/ipfs-api/src/request/dag.rs
index 5e9e237..a3a64a9 100644
--- a/ipfs-api/src/request/dag.rs
+++ b/ipfs-api/src/request/dag.rs
@@ -9,7 +9,7 @@
use request::ApiRequest;
-#[derive(Serialize)]
+#[derive(Serialize, Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub struct DagGet<'a> {
#[serde(rename = "arg")]
pub path: &'a str,
@@ -22,7 +22,7 @@ impl<'a> ApiRequest for DagGet<'a> {
}
}
-
+#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub struct DagPut;
impl_skip_serialize!(DagPut);