summaryrefslogtreecommitdiffstats
path: root/ipfs-api/src/response/id.rs
diff options
context:
space:
mode:
authorFerris Tseng <ferristseng@fastmail.fm>2018-03-08 15:19:42 -0500
committerFerris Tseng <ferristseng@fastmail.fm>2018-03-08 15:19:42 -0500
commitee3d0fdc5556e52d70c85d3ba795c3e1cbba9e3a (patch)
tree3a66ded3928c9ebcb8c29d080c3515efd5269f78 /ipfs-api/src/response/id.rs
parent7bc3f5079aa26cc18e00d49d0add9dc9c13f4e63 (diff)
formatting
Diffstat (limited to 'ipfs-api/src/response/id.rs')
-rw-r--r--ipfs-api/src/response/id.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/ipfs-api/src/response/id.rs b/ipfs-api/src/response/id.rs
index 4aca2f6..e993b50 100644
--- a/ipfs-api/src/response/id.rs
+++ b/ipfs-api/src/response/id.rs
@@ -11,11 +11,13 @@ use response::serde;
#[derive(Debug, Deserialize)]
#[serde(rename_all = "PascalCase")]
pub struct IdResponse {
- #[serde(rename = "ID")] pub id: String,
+ #[serde(rename = "ID")]
+ pub id: String,
pub public_key: String,
- #[serde(deserialize_with = "serde::deserialize_vec")] pub addresses: Vec<String>,
+ #[serde(deserialize_with = "serde::deserialize_vec")]
+ pub addresses: Vec<String>,
pub agent_version: String,
pub protocol_version: String,