pub struct SystemUsageSnapshot {
pub schema: &'static str,
pub sample_interval_ms: u64,
pub sample_age_ms: u64,
pub process: ProcessUsageSnapshot,
pub system: MachineUsageSnapshot,
pub gpu: GpuUsageSnapshot,
}Fields§
§schema: &'static str§sample_interval_ms: u64§sample_age_ms: u64§process: ProcessUsageSnapshot§system: MachineUsageSnapshot§gpu: GpuUsageSnapshotTrait Implementations§
Source§impl Clone for SystemUsageSnapshot
impl Clone for SystemUsageSnapshot
Source§fn clone(&self) -> SystemUsageSnapshot
fn clone(&self) -> SystemUsageSnapshot
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 SystemUsageSnapshot
impl Debug for SystemUsageSnapshot
Source§impl Default for SystemUsageSnapshot
impl Default for SystemUsageSnapshot
Source§fn default() -> SystemUsageSnapshot
fn default() -> SystemUsageSnapshot
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SystemUsageSnapshot
impl RefUnwindSafe for SystemUsageSnapshot
impl Send for SystemUsageSnapshot
impl Sync for SystemUsageSnapshot
impl Unpin for SystemUsageSnapshot
impl UnsafeUnpin for SystemUsageSnapshot
impl UnwindSafe for SystemUsageSnapshot
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