summaryrefslogtreecommitdiffstats
path: root/ipfs-api/src/response/files.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ipfs-api/src/response/files.rs')
-rw-r--r--ipfs-api/src/response/files.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/ipfs-api/src/response/files.rs b/ipfs-api/src/response/files.rs
index fdcd873..1b073de 100644
--- a/ipfs-api/src/response/files.rs
+++ b/ipfs-api/src/response/files.rs
@@ -15,7 +15,7 @@ pub type FilesCpResponse = ();
pub type FilesFlushResponse = ();
-#[derive(Deserialize, Debug, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Deserialize)]
#[serde(rename_all = "PascalCase")]
pub struct FilesEntry {
pub name: String,
@@ -29,7 +29,7 @@ pub struct FilesEntry {
}
-#[derive(Deserialize, Debug, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Deserialize)]
#[serde(rename_all = "PascalCase")]
pub struct FilesLsResponse {
#[serde(deserialize_with = "serde::deserialize_vec")]
@@ -46,7 +46,7 @@ pub type FilesMvResponse = ();
pub type FilesRmResponse = ();
-#[derive(Deserialize, Debug, Clone, PartialEq, Eq, Hash)]
+#[derive(Debug, Deserialize)]
#[serde(rename_all = "PascalCase")]
pub struct FilesStatResponse {
pub hash: String,