Struct below_model::cgroup::CgroupModel [−][src]
pub struct CgroupModel { pub name: String, pub full_path: String, pub inode_number: Option<u64>, pub depth: u32, pub cpu: Option<CgroupCpuModel>, pub memory: Option<CgroupMemoryModel>, pub io: Option<BTreeMap<String, CgroupIoModel>>, pub io_total: Option<CgroupIoModel>, pub pressure: Option<CgroupPressureModel>, pub children: BTreeSet<CgroupModel>, pub count: u32, pub recreate_flag: bool, }
Fields
name: String
full_path: String
inode_number: Option<u64>
depth: u32
cpu: Option<CgroupCpuModel>
memory: Option<CgroupMemoryModel>
io: Option<BTreeMap<String, CgroupIoModel>>
io_total: Option<CgroupIoModel>
pressure: Option<CgroupPressureModel>
children: BTreeSet<CgroupModel>
count: u32
recreate_flag: bool
Implementations
pub fn new(
name: String,
full_path: String,
depth: u32,
sample: &CgroupSample,
last: Option<(&CgroupSample, Duration)>
) -> CgroupModel
[src]Trait Implementations
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for CgroupModel
impl Send for CgroupModel
impl Sync for CgroupModel
impl Unpin for CgroupModel
impl UnwindSafe for CgroupModel
Blanket Implementations
Mutably borrows from an owned value. Read more