Struct k8s_openapi::v1_8::api::core::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 ResourceQuotaSpec
fn clone(&self) -> ResourceQuotaSpec
[src]
fn clone(&self) -> ResourceQuotaSpec
Returns 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 ResourceQuotaSpec
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for ResourceQuotaSpec
[src]
impl Default for ResourceQuotaSpec
fn default() -> ResourceQuotaSpec
[src]
fn default() -> ResourceQuotaSpec
Returns the "default value" for a type. Read more
impl PartialEq for ResourceQuotaSpec
[src]
impl PartialEq for ResourceQuotaSpec
fn eq(&self, other: &ResourceQuotaSpec) -> bool
[src]
fn eq(&self, other: &ResourceQuotaSpec) -> bool
This 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) -> bool
This method tests for !=
.
impl<'de> Deserialize<'de> for ResourceQuotaSpec
[src]
impl<'de> Deserialize<'de> for ResourceQuotaSpec
fn 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 ResourceQuotaSpec
Auto Trait Implementations
impl Send for ResourceQuotaSpec
impl Send for ResourceQuotaSpec
impl Sync for ResourceQuotaSpec
impl Sync for ResourceQuotaSpec