diff --git a/socktop_connector/src/types.rs b/socktop_connector/src/types.rs index 84fdfa9..47df1c0 100644 --- a/socktop_connector/src/types.rs +++ b/socktop_connector/src/types.rs @@ -15,7 +15,9 @@ pub struct DiskInfo { pub name: String, pub total: u64, pub available: u64, + #[serde(default)] pub temperature: Option, + #[serde(default)] pub is_partition: bool, }