Struct below_model::process::SingleProcessModel
source · [−]pub struct SingleProcessModel {
pub pid: Option<i32>,
pub ppid: Option<i32>,
pub comm: Option<String>,
pub state: Option<PidState>,
pub uptime_secs: Option<u64>,
pub cgroup: Option<String>,
pub io: Option<ProcessIoModel>,
pub mem: Option<ProcessMemoryModel>,
pub cpu: Option<ProcessCpuModel>,
pub cmdline: Option<String>,
pub exe_path: Option<String>,
}
Fields
pid: Option<i32>
ppid: Option<i32>
comm: Option<String>
state: Option<PidState>
uptime_secs: Option<u64>
cgroup: Option<String>
io: Option<ProcessIoModel>
mem: Option<ProcessMemoryModel>
cpu: Option<ProcessCpuModel>
cmdline: Option<String>
exe_path: Option<String>
Implementations
Sums stats between two process models together, None’ing out fields that semantically cannot be summed
Trait Implementations
Returns the “default value” for a type. Read more
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
Auto Trait Implementations
impl RefUnwindSafe for SingleProcessModel
impl Send for SingleProcessModel
impl Sync for SingleProcessModel
impl Unpin for SingleProcessModel
impl UnwindSafe for SingleProcessModel
Blanket Implementations
Mutably borrows from an owned value. Read more