proclist/types/
process_info.rs

1/// Process information.
2#[derive(Clone, Debug)]
3pub struct ProcessInfo {
4    /// Name of the process.
5    pub name: String,
6    /// Identifier of the process.
7    pub pid: u32,
8    /// Identifier of the parent process.
9    pub parent_pid: u32,
10    /// Number of execution threads started by the process.
11    #[cfg(not(target_os = "macos"))]
12    pub threads_count: u32,
13}