Struct nomad_client::models::host_disk_stats::HostDiskStats
source · pub struct HostDiskStats {
pub device: Option<String>,
pub mountpoint: Option<String>,
pub size: Option<i32>,
pub used: Option<i32>,
pub available: Option<i32>,
pub used_percent: Option<f64>,
pub inodes_used_percent: Option<f64>,
}
Fields§
§device: Option<String>
§mountpoint: Option<String>
§size: Option<i32>
§used: Option<i32>
§available: Option<i32>
§used_percent: Option<f64>
§inodes_used_percent: Option<f64>
Implementations§
source§impl HostDiskStats
impl HostDiskStats
pub fn new() -> HostDiskStats
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<'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<HostDiskStats> for HostDiskStats
impl PartialEq<HostDiskStats> for HostDiskStats
source§fn eq(&self, other: &HostDiskStats) -> bool
fn eq(&self, other: &HostDiskStats) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.