pub struct CpuStats {
pub system_mode: Option<f64>,
pub user_mode: Option<f64>,
pub total_ticks: Option<f64>,
pub throttled_periods: Option<i32>,
pub throttled_time: Option<i32>,
pub percent: Option<f64>,
pub measured: Option<Vec<String>>,
}
Fields§
§system_mode: Option<f64>
§user_mode: Option<f64>
§total_ticks: Option<f64>
§throttled_periods: Option<i32>
§throttled_time: Option<i32>
§percent: Option<f64>
§measured: Option<Vec<String>>
Implementations§
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
impl StructuralPartialEq for CpuStats
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