Struct below_model::system::ProcStatModel
source · pub struct ProcStatModel {
pub total_interrupt_ct: Option<u64>,
pub context_switches: Option<u64>,
pub boot_time_epoch_secs: Option<u64>,
pub total_processes: Option<u64>,
pub running_processes: Option<u32>,
pub blocked_processes: Option<u32>,
}
Fields§
§total_interrupt_ct: Option<u64>
§context_switches: Option<u64>
§boot_time_epoch_secs: Option<u64>
§total_processes: Option<u64>
§running_processes: Option<u32>
§blocked_processes: Option<u32>
Implementations§
Trait Implementations§
source§impl Clone for ProcStatModel
impl Clone for ProcStatModel
source§fn clone(&self) -> ProcStatModel
fn clone(&self) -> ProcStatModel
Returns a copy of the value. Read more
1.0.0 · 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 ProcStatModel
impl Debug for ProcStatModel
source§impl Default for ProcStatModel
impl Default for ProcStatModel
source§fn default() -> ProcStatModel
fn default() -> ProcStatModel
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ProcStatModel
impl<'de> Deserialize<'de> for ProcStatModel
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 ProcStatModel
impl PartialEq for ProcStatModel
source§fn eq(&self, other: &ProcStatModel) -> bool
fn eq(&self, other: &ProcStatModel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Queriable for ProcStatModel
impl Queriable for ProcStatModel
source§impl Serialize for ProcStatModel
impl Serialize for ProcStatModel
impl StructuralPartialEq for ProcStatModel
Auto Trait Implementations§
impl Freeze for ProcStatModel
impl RefUnwindSafe for ProcStatModel
impl Send for ProcStatModel
impl Sync for ProcStatModel
impl Unpin for ProcStatModel
impl UnwindSafe for ProcStatModel
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