pub struct HealthCpuSnapshot {
pub logical_cores: usize,
pub brand: String,
pub frequency_mhz: u64,
pub usage_percent: f64,
pub extra: BTreeMap<String, Value>,
}Fields§
§logical_cores: usize§brand: String§frequency_mhz: u64§usage_percent: f64§extra: BTreeMap<String, Value>Trait Implementations§
Source§impl Clone for HealthCpuSnapshot
impl Clone for HealthCpuSnapshot
Source§fn clone(&self) -> HealthCpuSnapshot
fn clone(&self) -> HealthCpuSnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HealthCpuSnapshot
impl Debug for HealthCpuSnapshot
Source§impl<'de> Deserialize<'de> for HealthCpuSnapshot
impl<'de> Deserialize<'de> for HealthCpuSnapshot
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
Source§impl PartialEq for HealthCpuSnapshot
impl PartialEq for HealthCpuSnapshot
Source§impl Serialize for HealthCpuSnapshot
impl Serialize for HealthCpuSnapshot
impl StructuralPartialEq for HealthCpuSnapshot
Auto Trait Implementations§
impl Freeze for HealthCpuSnapshot
impl RefUnwindSafe for HealthCpuSnapshot
impl Send for HealthCpuSnapshot
impl Sync for HealthCpuSnapshot
impl Unpin for HealthCpuSnapshot
impl UnsafeUnpin for HealthCpuSnapshot
impl UnwindSafe for HealthCpuSnapshot
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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