pub struct MachineUsageSnapshot {
pub memory_load_percent: Option<u32>,
pub total_memory_mb: Option<f32>,
pub available_memory_mb: Option<f32>,
}Fields§
§memory_load_percent: Option<u32>§total_memory_mb: Option<f32>§available_memory_mb: Option<f32>Trait Implementations§
Source§impl Clone for MachineUsageSnapshot
impl Clone for MachineUsageSnapshot
Source§fn clone(&self) -> MachineUsageSnapshot
fn clone(&self) -> MachineUsageSnapshot
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 MachineUsageSnapshot
impl Debug for MachineUsageSnapshot
Source§impl Default for MachineUsageSnapshot
impl Default for MachineUsageSnapshot
Source§fn default() -> MachineUsageSnapshot
fn default() -> MachineUsageSnapshot
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MachineUsageSnapshot
impl RefUnwindSafe for MachineUsageSnapshot
impl Send for MachineUsageSnapshot
impl Sync for MachineUsageSnapshot
impl Unpin for MachineUsageSnapshot
impl UnsafeUnpin for MachineUsageSnapshot
impl UnwindSafe for MachineUsageSnapshot
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