Struct monitor_types::SystemProcess
source · pub struct SystemProcess {
pub pid: u32,
pub name: String,
pub exe: String,
pub cmd: Vec<String>,
pub start_time: f64,
pub cpu_perc: f32,
pub mem_mb: f64,
pub disk_read_kb: f64,
pub disk_write_kb: f64,
}
Fields§
§pid: u32
§name: String
§exe: String
§cmd: Vec<String>
§start_time: f64
§cpu_perc: f32
§mem_mb: f64
§disk_read_kb: f64
§disk_write_kb: f64
Trait Implementations§
source§impl Clone for SystemProcess
impl Clone for SystemProcess
source§fn clone(&self) -> SystemProcess
fn clone(&self) -> SystemProcess
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 SystemProcess
impl Debug for SystemProcess
source§impl<'de> Deserialize<'de> for SystemProcess
impl<'de> Deserialize<'de> for SystemProcess
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