summaryrefslogtreecommitdiffstats
path: root/ipfs-api/src/response/filestore.rs
diff options
context:
space:
mode:
authorFerris Tseng <ferristseng@fastmail.fm>2018-01-23 18:30:11 -0500
committerFerris Tseng <ferristseng@fastmail.fm>2018-01-23 18:30:11 -0500
commitc2f1199de55897cc98d7663f171329a04e63b230 (patch)
tree37d5fcd052f9fce50eacae78633cf09a1c8a9901 /ipfs-api/src/response/filestore.rs
parent06a3776548b8c81226ef61715e5a2e98e29799c9 (diff)
formatting
Diffstat (limited to 'ipfs-api/src/response/filestore.rs')
-rw-r--r--ipfs-api/src/response/filestore.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/ipfs-api/src/response/filestore.rs b/ipfs-api/src/response/filestore.rs
index f2f62e5..5b369bc 100644
--- a/ipfs-api/src/response/filestore.rs
+++ b/ipfs-api/src/response/filestore.rs
@@ -9,13 +9,11 @@
#[derive(Debug, Deserialize)]
#[serde(rename_all = "PascalCase")]
pub struct FilestoreDupsResponse {
- #[serde(rename = "Ref")]
- pub reference: String,
+ #[serde(rename = "Ref")] pub reference: String,
pub err: String,
}
-
#[derive(Debug, Deserialize)]
#[serde(rename_all = "PascalCase")]
pub struct FilestoreObject {
@@ -27,8 +25,6 @@ pub struct FilestoreObject {
pub size: u64,
}
-
pub type FilestoreLsResponse = FilestoreObject;
-
pub type FilestoreVerifyResponse = FilestoreObject;