pub struct ProcessPerf {
pub pc_id: String,
pub at: DateTime<Utc>,
pub processes: Vec<ProcessSnapshot>,
}Expand description
One agent tick worth of “top processes by CPU” data. processes
is already sorted (descending CPU%) and clipped to the
process_perf_top_n configured for that scope, so the backend
projector can persist it verbatim without re-sorting.
Fields§
§pc_id: String§at: DateTime<Utc>§processes: Vec<ProcessSnapshot>Trait Implementations§
Source§impl Clone for ProcessPerf
impl Clone for ProcessPerf
Source§fn clone(&self) -> ProcessPerf
fn clone(&self) -> ProcessPerf
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ProcessPerf
impl Debug for ProcessPerf
Source§impl<'de> Deserialize<'de> for ProcessPerf
impl<'de> Deserialize<'de> for ProcessPerf
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 ProcessPerf
impl RefUnwindSafe for ProcessPerf
impl Send for ProcessPerf
impl Sync for ProcessPerf
impl Unpin for ProcessPerf
impl UnsafeUnpin for ProcessPerf
impl UnwindSafe for ProcessPerf
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