Struct nomad_client_rs::models::host_stats::HostStats
source · pub struct HostStats {
pub memory: Option<HostMemoryStats>,
pub cpu: Option<Vec<HostCpuStats>>,
pub disk_stats: Option<Vec<HostDiskStats>>,
pub device_stats: Option<Vec<DeviceGroupStats>>,
pub uptime: Option<i32>,
pub cpu_ticks_consumed: Option<f64>,
}
Fields§
§memory: Option<HostMemoryStats>
§cpu: Option<Vec<HostCpuStats>>
§disk_stats: Option<Vec<HostDiskStats>>
§device_stats: Option<Vec<DeviceGroupStats>>
§uptime: Option<i32>
§cpu_ticks_consumed: Option<f64>
Trait Implementations§
source§impl<'de> Deserialize<'de> for HostStats
impl<'de> Deserialize<'de> for HostStats
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more