Struct nomad_client::models::quota_limit::QuotaLimit
source · pub struct QuotaLimit {
pub region: Option<String>,
pub region_limit: Option<Box<Resources>>,
pub hash: Option<String>,
}
Fields§
§region: Option<String>
§region_limit: Option<Box<Resources>>
§hash: Option<String>
Implementations§
source§impl QuotaLimit
impl QuotaLimit
pub fn new() -> QuotaLimit
Trait Implementations§
source§impl Clone for QuotaLimit
impl Clone for QuotaLimit
source§fn clone(&self) -> QuotaLimit
fn clone(&self) -> QuotaLimit
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 QuotaLimit
impl Debug for QuotaLimit
source§impl<'de> Deserialize<'de> for QuotaLimit
impl<'de> Deserialize<'de> for QuotaLimit
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<QuotaLimit> for QuotaLimit
impl PartialEq<QuotaLimit> for QuotaLimit
source§fn eq(&self, other: &QuotaLimit) -> bool
fn eq(&self, other: &QuotaLimit) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.