pub struct HostDiskStats {
pub inodes_used_percent: f64,
pub device: String,
pub mountpoint: String,
pub size: u64,
pub used: u64,
pub available: u64,
pub used_percent: f64,
}
Expand description
This struct was generated based on the Go types of the official Nomad API client.
Fields§
§inodes_used_percent: f64
§device: String
§mountpoint: String
§size: u64
§used: u64
§available: u64
§used_percent: f64
Trait Implementations§
Source§impl Clone for HostDiskStats
impl Clone for HostDiskStats
Source§fn clone(&self) -> HostDiskStats
fn clone(&self) -> HostDiskStats
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 HostDiskStats
impl Debug for HostDiskStats
Source§impl Default for HostDiskStats
impl Default for HostDiskStats
Source§fn default() -> HostDiskStats
fn default() -> HostDiskStats
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for HostDiskStats
impl<'de> Deserialize<'de> for HostDiskStats
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 HostDiskStats
impl PartialEq for HostDiskStats
Source§impl Serialize for HostDiskStats
impl Serialize for HostDiskStats
impl StructuralPartialEq for HostDiskStats
Auto Trait Implementations§
impl Freeze for HostDiskStats
impl RefUnwindSafe for HostDiskStats
impl Send for HostDiskStats
impl Sync for HostDiskStats
impl Unpin for HostDiskStats
impl UnwindSafe for HostDiskStats
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