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