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 JsonSchema for ResourceQuotaStatus
impl JsonSchema for ResourceQuotaStatus
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn json_schema(__gen: &mut SchemaGenerator) -> Schema
fn json_schema(__gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresource§impl PartialEq for ResourceQuotaStatus
impl PartialEq 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 ==
.source§impl Serialize for ResourceQuotaStatus
impl Serialize for ResourceQuotaStatus
impl StructuralPartialEq for ResourceQuotaStatus
Auto Trait Implementations§
impl Freeze for ResourceQuotaStatus
impl RefUnwindSafe for ResourceQuotaStatus
impl Send for ResourceQuotaStatus
impl Sync for ResourceQuotaStatus
impl Unpin for ResourceQuotaStatus
impl UnwindSafe for ResourceQuotaStatus
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more