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 for ResourceQuotaStatus
impl PartialEq for ResourceQuotaStatus
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)