Struct k8s_openapi::api::core::v1::ResourceQuotaStatus
source · pub struct ResourceQuotaStatus {
pub hard: Option<BTreeMap<String, Quantity>>,
pub used: Option<BTreeMap<String, Quantity>>,
}
Expand description
ResourceQuotaStatus defines the enforced hard limits and observed use.
Fields§
§hard: Option<BTreeMap<String, Quantity>>
Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/
used: Option<BTreeMap<String, Quantity>>
Used is the current observed total usage of the resource in the namespace.
Trait Implementations§
source§impl Clone for ResourceQuotaStatus
impl Clone for ResourceQuotaStatus
source§fn clone(&self) -> ResourceQuotaStatus
fn clone(&self) -> ResourceQuotaStatus
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 ResourceQuotaStatus
impl Debug for ResourceQuotaStatus
source§impl DeepMerge for ResourceQuotaStatus
impl DeepMerge for ResourceQuotaStatus
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.source§impl Default for ResourceQuotaStatus
impl Default for ResourceQuotaStatus
source§fn default() -> ResourceQuotaStatus
fn default() -> ResourceQuotaStatus
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ResourceQuotaStatus
impl<'de> Deserialize<'de> for ResourceQuotaStatus
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<ResourceQuotaStatus> for ResourceQuotaStatus
impl PartialEq<ResourceQuotaStatus> for ResourceQuotaStatus
source§fn eq(&self, other: &ResourceQuotaStatus) -> bool
fn eq(&self, other: &ResourceQuotaStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.