pub struct CpuStats {
pub cpu_usage: CpuUsage,
pub system_cpu_usage: u64,
pub throttling_data: ThrottlingData,
}
Fields§
§cpu_usage: CpuUsage
§system_cpu_usage: u64
§throttling_data: ThrottlingData
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CpuStats
impl<'de> Deserialize<'de> for CpuStats
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
Auto Trait Implementations§
impl Freeze for CpuStats
impl RefUnwindSafe for CpuStats
impl Send for CpuStats
impl Sync for CpuStats
impl Unpin for CpuStats
impl UnwindSafe for CpuStats
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