pub struct HostMemoryStats {
pub free: u64,
pub total: u64,
pub available: u64,
pub used: u64,
}
Expand description
This struct was generated based on the Go types of the official Nomad API.
Fields§
§free: u64
§total: u64
§available: u64
§used: u64
Trait Implementations§
Source§impl Clone for HostMemoryStats
impl Clone for HostMemoryStats
Source§fn clone(&self) -> HostMemoryStats
fn clone(&self) -> HostMemoryStats
Returns a copy of the value. Read more
1.0.0 · 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 HostMemoryStats
impl Debug for HostMemoryStats
Source§impl Default for HostMemoryStats
impl Default for HostMemoryStats
Source§fn default() -> HostMemoryStats
fn default() -> HostMemoryStats
Returns the “default value” for a type. Read more
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