pub struct HealthProcessSnapshot {
pub pid: u32,
pub cpu_usage_percent: f64,
pub memory_bytes: u64,
pub extra: BTreeMap<String, Value>,
}Fields§
§pid: u32§cpu_usage_percent: f64§memory_bytes: u64§extra: BTreeMap<String, Value>Trait Implementations§
Source§impl Clone for HealthProcessSnapshot
impl Clone for HealthProcessSnapshot
Source§fn clone(&self) -> HealthProcessSnapshot
fn clone(&self) -> HealthProcessSnapshot
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 HealthProcessSnapshot
impl Debug for HealthProcessSnapshot
Source§impl<'de> Deserialize<'de> for HealthProcessSnapshot
impl<'de> Deserialize<'de> for HealthProcessSnapshot
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 HealthProcessSnapshot
impl PartialEq for HealthProcessSnapshot
Source§impl Serialize for HealthProcessSnapshot
impl Serialize for HealthProcessSnapshot
impl StructuralPartialEq for HealthProcessSnapshot
Auto Trait Implementations§
impl Freeze for HealthProcessSnapshot
impl RefUnwindSafe for HealthProcessSnapshot
impl Send for HealthProcessSnapshot
impl Sync for HealthProcessSnapshot
impl Unpin for HealthProcessSnapshot
impl UnsafeUnpin for HealthProcessSnapshot
impl UnwindSafe for HealthProcessSnapshot
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