pub struct HostMemoryStats {
pub total: Option<i32>,
pub available: Option<i32>,
pub used: Option<i32>,
pub free: Option<i32>,
}
Fields§
§total: Option<i32>
§available: Option<i32>
§used: Option<i32>
§free: Option<i32>
Implementations§
Source§impl HostMemoryStats
impl HostMemoryStats
pub fn new() -> HostMemoryStats
Trait Implementations§
Source§impl Clone for HostMemoryStats
impl Clone for HostMemoryStats
Source§fn clone(&self) -> HostMemoryStats
fn clone(&self) -> HostMemoryStats
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for HostMemoryStats
impl Debug for HostMemoryStats
Source§impl<'de> Deserialize<'de> for HostMemoryStats
impl<'de> Deserialize<'de> for HostMemoryStats
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 HostMemoryStats
impl PartialEq for HostMemoryStats
Source§impl Serialize for HostMemoryStats
impl Serialize for HostMemoryStats
impl StructuralPartialEq for HostMemoryStats
Auto Trait Implementations§
impl Freeze for HostMemoryStats
impl RefUnwindSafe for HostMemoryStats
impl Send for HostMemoryStats
impl Sync for HostMemoryStats
impl Unpin for HostMemoryStats
impl UnwindSafe for HostMemoryStats
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