Struct k8s_openapi::v1_10::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 is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/

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]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ResourceQuotaSpec
[src]

Formats the value using the given formatter. Read more

impl Default for ResourceQuotaSpec
[src]

Returns the "default value" for a type. Read more

impl PartialEq for ResourceQuotaSpec
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'de> Deserialize<'de> for ResourceQuotaSpec
[src]

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for ResourceQuotaSpec
[src]

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations