pub struct ProcessNode {
pub pid: i32,
pub name: String,
pub uid: u32,
pub rss_kb: u64,
pub children: Vec<ProcessNode>,
}Fields§
§pid: i32§name: String§uid: u32§rss_kb: u64§children: Vec<ProcessNode>Trait Implementations§
Source§impl Clone for ProcessNode
impl Clone for ProcessNode
Source§fn clone(&self) -> ProcessNode
fn clone(&self) -> ProcessNode
Returns a duplicate 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 ProcessNode
impl Debug for ProcessNode
Source§impl<'de> Deserialize<'de> for ProcessNode
impl<'de> Deserialize<'de> for ProcessNode
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
Auto Trait Implementations§
impl Freeze for ProcessNode
impl RefUnwindSafe for ProcessNode
impl Send for ProcessNode
impl Sync for ProcessNode
impl Unpin for ProcessNode
impl UnsafeUnpin for ProcessNode
impl UnwindSafe for ProcessNode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more