pub struct ClusterResourceQuotaSpec {
pub quota: ResourceQuotaSpec,
pub selector: ClusterResourceQuotaSelector,
}
Expand description
ClusterResourceQuotaSpec defines the desired quota restrictions
Fields§
§quota: ResourceQuotaSpec
Quota defines the desired quota
selector: ClusterResourceQuotaSelector
Selector is the selector used to match projects. It should only select active projects on the scale of dozens (though it can select many more less active projects). These projects will contend on object creation through this resource.
Trait Implementations§
Source§impl Clone for ClusterResourceQuotaSpec
impl Clone for ClusterResourceQuotaSpec
Source§fn clone(&self) -> ClusterResourceQuotaSpec
fn clone(&self) -> ClusterResourceQuotaSpec
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 ClusterResourceQuotaSpec
impl Debug for ClusterResourceQuotaSpec
Source§impl Default for ClusterResourceQuotaSpec
impl Default for ClusterResourceQuotaSpec
Source§fn default() -> ClusterResourceQuotaSpec
fn default() -> ClusterResourceQuotaSpec
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClusterResourceQuotaSpec
impl<'de> Deserialize<'de> for ClusterResourceQuotaSpec
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 ClusterResourceQuotaSpec
impl PartialEq for ClusterResourceQuotaSpec
Source§impl Serialize for ClusterResourceQuotaSpec
impl Serialize for ClusterResourceQuotaSpec
impl StructuralPartialEq for ClusterResourceQuotaSpec
Auto Trait Implementations§
impl Freeze for ClusterResourceQuotaSpec
impl RefUnwindSafe for ClusterResourceQuotaSpec
impl Send for ClusterResourceQuotaSpec
impl Sync for ClusterResourceQuotaSpec
impl Unpin for ClusterResourceQuotaSpec
impl UnwindSafe for ClusterResourceQuotaSpec
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