Struct below_model::cgroup::CgroupStatModel
source · pub struct CgroupStatModel {
pub nr_descendants: Option<u32>,
pub nr_dying_descendants: Option<u32>,
}
Fields§
§nr_descendants: Option<u32>
§nr_dying_descendants: Option<u32>
Implementations§
source§impl CgroupStatModel
impl CgroupStatModel
pub fn new(cgroup_stat: &CgroupStat) -> CgroupStatModel
Trait Implementations§
source§impl Clone for CgroupStatModel
impl Clone for CgroupStatModel
source§fn clone(&self) -> CgroupStatModel
fn clone(&self) -> CgroupStatModel
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 CgroupStatModel
impl Debug for CgroupStatModel
source§impl Default for CgroupStatModel
impl Default for CgroupStatModel
source§fn default() -> CgroupStatModel
fn default() -> CgroupStatModel
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CgroupStatModel
impl<'de> Deserialize<'de> for CgroupStatModel
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 CgroupStatModel
impl PartialEq for CgroupStatModel
source§fn eq(&self, other: &CgroupStatModel) -> bool
fn eq(&self, other: &CgroupStatModel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Queriable for CgroupStatModel
impl Queriable for CgroupStatModel
source§impl Serialize for CgroupStatModel
impl Serialize for CgroupStatModel
impl StructuralPartialEq for CgroupStatModel
Auto Trait Implementations§
impl Freeze for CgroupStatModel
impl RefUnwindSafe for CgroupStatModel
impl Send for CgroupStatModel
impl Sync for CgroupStatModel
impl Unpin for CgroupStatModel
impl UnwindSafe for CgroupStatModel
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