pub struct PhysicalMemory {
pub total: f32,
pub free: f32,
pub used: f32,
pub buff_or_cache: f32,
}Fields§
§total: f32§free: f32§used: f32§buff_or_cache: f32Trait Implementations§
Source§impl Debug for PhysicalMemory
impl Debug for PhysicalMemory
Source§impl<'de> Deserialize<'de> for PhysicalMemory
impl<'de> Deserialize<'de> for PhysicalMemory
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
Source§impl PartialEq for PhysicalMemory
impl PartialEq for PhysicalMemory
Source§impl Serialize for PhysicalMemory
impl Serialize for PhysicalMemory
impl StructuralPartialEq for PhysicalMemory
Auto Trait Implementations§
impl Freeze for PhysicalMemory
impl RefUnwindSafe for PhysicalMemory
impl Send for PhysicalMemory
impl Sync for PhysicalMemory
impl Unpin for PhysicalMemory
impl UnsafeUnpin for PhysicalMemory
impl UnwindSafe for PhysicalMemory
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