summaryrefslogtreecommitdiffstats
path: root/ipfs-api/src/response/key.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ipfs-api/src/response/key.rs')
-rw-r--r--ipfs-api/src/response/key.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipfs-api/src/response/key.rs b/ipfs-api/src/response/key.rs
index 3bbe7c6..2eb7de7 100644
--- a/ipfs-api/src/response/key.rs
+++ b/ipfs-api/src/response/key.rs
@@ -9,7 +9,7 @@
use response::serde;
-#[derive(Deserialize, Debug, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Deserialize)]
#[serde(rename_all = "PascalCase")]
pub struct KeyGenResponse {
pub name: String,
@@ -17,7 +17,7 @@ pub struct KeyGenResponse {
}
-#[derive(Deserialize, Debug, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Deserialize)]
#[serde(rename_all = "PascalCase")]
pub struct KeyListResponse {
#[serde(deserialize_with = "serde::deserialize_vec")]