summaryrefslogtreecommitdiffstats
path: root/ipfs-api/src/response/log.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ipfs-api/src/response/log.rs')
-rw-r--r--ipfs-api/src/response/log.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/ipfs-api/src/response/log.rs b/ipfs-api/src/response/log.rs
index 643d341..da3fb34 100644
--- a/ipfs-api/src/response/log.rs
+++ b/ipfs-api/src/response/log.rs
@@ -8,22 +8,18 @@
use response::serde;
-
#[derive(Debug, Deserialize)]
#[serde(rename_all = "PascalCase")]
pub struct LogLevelResponse {
pub message: String,
}
-
#[derive(Debug, Deserialize)]
#[serde(rename_all = "PascalCase")]
pub struct LogLsResponse {
- #[serde(deserialize_with = "serde::deserialize_vec")]
- pub strings: Vec<String>,
+ #[serde(deserialize_with = "serde::deserialize_vec")] pub strings: Vec<String>,
}
-
#[cfg(test)]
mod tests {
deserialize_test!(v0_log_ls_0, LogLsResponse);