Struct k8s_openapi::v1_7::kubernetes::pkg::api::v1::ResourceQuotaSpec [−][src]
pub struct ResourceQuotaSpec {
pub hard: Option<BTreeMap<String, Quantity>>,
pub scopes: Option<Vec<String>>,
}ResourceQuotaSpec defines the desired hard limits to enforce for Quota.
Fields
hard: Option<BTreeMap<String, Quantity>>
Hard is the set of desired hard limits for each named resource. More info: https://git.k8s.io/community/contributors/design-proposals/admission_control_resource_quota.md
scopes: Option<Vec<String>>
A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects.
Trait Implementations
impl Clone for ResourceQuotaSpec[src]
impl Clone for ResourceQuotaSpecfn clone(&self) -> ResourceQuotaSpec[src]
fn clone(&self) -> ResourceQuotaSpecReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for ResourceQuotaSpec[src]
impl Debug for ResourceQuotaSpecfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Default for ResourceQuotaSpec[src]
impl Default for ResourceQuotaSpecfn default() -> ResourceQuotaSpec[src]
fn default() -> ResourceQuotaSpecReturns the "default value" for a type. Read more
impl PartialEq for ResourceQuotaSpec[src]
impl PartialEq for ResourceQuotaSpecfn eq(&self, other: &ResourceQuotaSpec) -> bool[src]
fn eq(&self, other: &ResourceQuotaSpec) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &ResourceQuotaSpec) -> bool[src]
fn ne(&self, other: &ResourceQuotaSpec) -> boolThis method tests for !=.
impl<'de> Deserialize<'de> for ResourceQuotaSpec[src]
impl<'de> Deserialize<'de> for ResourceQuotaSpecfn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>, [src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>, Deserialize this value from the given Serde deserializer. Read more
impl Serialize for ResourceQuotaSpec[src]
impl Serialize for ResourceQuotaSpecAuto Trait Implementations
impl Send for ResourceQuotaSpec
impl Send for ResourceQuotaSpecimpl Sync for ResourceQuotaSpec
impl Sync for ResourceQuotaSpec