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
sourceimpl CgroupStatModel
impl CgroupStatModel
pub fn new(cgroup_stat: &CgroupStat) -> CgroupStatModel
Trait Implementations
sourceimpl Clone for CgroupStatModel
impl Clone for CgroupStatModel
sourcefn clone(&self) -> CgroupStatModel
fn clone(&self) -> CgroupStatModel
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for CgroupStatModel
impl Debug for CgroupStatModel
sourceimpl Default for CgroupStatModel
impl Default for CgroupStatModel
sourcefn default() -> CgroupStatModel
fn default() -> CgroupStatModel
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for CgroupStatModel
impl<'de> Deserialize<'de> for CgroupStatModel
sourcefn 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
sourceimpl PartialEq<CgroupStatModel> for CgroupStatModel
impl PartialEq<CgroupStatModel> for CgroupStatModel
sourcefn eq(&self, other: &CgroupStatModel) -> bool
fn eq(&self, other: &CgroupStatModel) -> bool
sourceimpl Queriable for CgroupStatModel
impl Queriable for CgroupStatModel
sourceimpl Serialize for CgroupStatModel
impl Serialize for CgroupStatModel
impl StructuralPartialEq for CgroupStatModel
Auto Trait Implementations
impl RefUnwindSafe for CgroupStatModel
impl Send for CgroupStatModel
impl Sync for CgroupStatModel
impl Unpin for CgroupStatModel
impl UnwindSafe for CgroupStatModel
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more