pub struct ClusterResourceQuotaStatus {
pub namespaces: Vec<ResourceQuotaStatusByNamespace>,
pub total: ResourceQuotaStatus,
}
Expand description
ClusterResourceQuotaStatus defines the actual enforced quota and its current usage
Fields§
§namespaces: Vec<ResourceQuotaStatusByNamespace>
Namespaces slices the usage by project. This division allows for quick resolution of deletion reconciliation inside of a single project without requiring a recalculation across all projects. This can be used to pull the deltas for a given project.
total: ResourceQuotaStatus
Total defines the actual enforced quota and its current usage across all projects
Trait Implementations§
Source§impl Clone for ClusterResourceQuotaStatus
impl Clone for ClusterResourceQuotaStatus
Source§fn clone(&self) -> ClusterResourceQuotaStatus
fn clone(&self) -> ClusterResourceQuotaStatus
Returns a duplicate 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 ClusterResourceQuotaStatus
impl Debug for ClusterResourceQuotaStatus
Source§impl Default for ClusterResourceQuotaStatus
impl Default for ClusterResourceQuotaStatus
Source§fn default() -> ClusterResourceQuotaStatus
fn default() -> ClusterResourceQuotaStatus
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClusterResourceQuotaStatus
impl<'de> Deserialize<'de> for ClusterResourceQuotaStatus
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
impl StructuralPartialEq for ClusterResourceQuotaStatus
Auto Trait Implementations§
impl Freeze for ClusterResourceQuotaStatus
impl RefUnwindSafe for ClusterResourceQuotaStatus
impl Send for ClusterResourceQuotaStatus
impl Sync for ClusterResourceQuotaStatus
impl Unpin for ClusterResourceQuotaStatus
impl UnwindSafe for ClusterResourceQuotaStatus
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