pub struct HostStats {
pub memory: Option<Box<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<Box<HostMemoryStats>>
§CPU: Option<Vec<HostCpuStats>>
§disk_stats: Option<Vec<HostDiskStats>>
§device_stats: Option<Vec<DeviceGroupStats>>
§uptime: Option<i32>
§cpu_ticks_consumed: Option<f64>
Implementations§
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
impl StructuralPartialEq for HostStats
Auto Trait Implementations§
impl Freeze for HostStats
impl RefUnwindSafe for HostStats
impl Send for HostStats
impl Sync for HostStats
impl Unpin for HostStats
impl UnwindSafe for HostStats
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more