diff --git a/src/cmd.rs b/src/cmd.rs index 0f82616..b8c4ed9 100644 --- a/src/cmd.rs +++ b/src/cmd.rs @@ -80,6 +80,7 @@ pub struct MgrMetadata { pub os: String, // other metadata not captured through the above attributes #[serde(flatten)] + #[allow(unused)] // used for debug and deserialization other_meta: Option>, } @@ -184,6 +185,7 @@ pub struct OsdMetadata { pub objectstore_meta: ObjectStoreMeta, // other metadata not captured through the above attributes #[serde(flatten)] + #[allow(unused)] // used for debug and deserialization other_meta: Option>, } @@ -223,6 +225,7 @@ pub struct PgSummary { pub num_keys_recovered: Option, // other metadata not captured through the above attributes #[serde(flatten)] + #[allow(unused)] // used for debug and deserialization other_meta: Option>, } @@ -290,8 +293,11 @@ pub enum ExtraProbePeer { #[derive(Deserialize, Debug)] pub struct AddrVec { + #[allow(unused)] // used for debug and deserialization r#type: String, + #[allow(unused)] // used for debug and deserialization addr: String, + #[allow(unused)] // used for debug and deserialization nonce: i32, }