summaryrefslogtreecommitdiffstats
path: root/ipfs-api/src/response/commands.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ipfs-api/src/response/commands.rs')
-rw-r--r--ipfs-api/src/response/commands.rs9
1 files changed, 6 insertions, 3 deletions
diff --git a/ipfs-api/src/response/commands.rs b/ipfs-api/src/response/commands.rs
index 261d0c5..4b6c2f5 100644
--- a/ipfs-api/src/response/commands.rs
+++ b/ipfs-api/src/response/commands.rs
@@ -11,7 +11,8 @@ use response::serde;
#[derive(Debug, Deserialize)]
#[serde(rename_all = "PascalCase")]
pub struct CommandsResponseOptions {
- #[serde(deserialize_with = "serde::deserialize_vec")] pub names: Vec<String>,
+ #[serde(deserialize_with = "serde::deserialize_vec")]
+ pub names: Vec<String>,
}
#[derive(Debug, Deserialize)]
@@ -19,9 +20,11 @@ pub struct CommandsResponseOptions {
pub struct CommandsResponse {
pub name: String,
- #[serde(deserialize_with = "serde::deserialize_vec")] pub subcommands: Vec<CommandsResponse>,
+ #[serde(deserialize_with = "serde::deserialize_vec")]
+ pub subcommands: Vec<CommandsResponse>,
- #[serde(deserialize_with = "serde::deserialize_vec")] pub options: Vec<CommandsResponseOptions>,
+ #[serde(deserialize_with = "serde::deserialize_vec")]
+ pub options: Vec<CommandsResponseOptions>,
}
#[cfg(test)]