pub struct ClusterResourceQuotaSelector {
pub annotations: BTreeMap<String, String>,
pub labels: LabelSelector,
}
Expand description
ClusterResourceQuotaSelector is used to select projects. At least one of LabelSelector or AnnotationSelector must present. If only one is present, it is the only selection criteria. If both are specified, the project must match both restrictions.
Fields§
§annotations: BTreeMap<String, String>
AnnotationSelector is used to select projects by annotation.
labels: LabelSelector
LabelSelector is used to select projects by label.
Trait Implementations§
Source§impl Clone for ClusterResourceQuotaSelector
impl Clone for ClusterResourceQuotaSelector
Source§fn clone(&self) -> ClusterResourceQuotaSelector
fn clone(&self) -> ClusterResourceQuotaSelector
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 ClusterResourceQuotaSelector
impl Debug for ClusterResourceQuotaSelector
Source§impl Default for ClusterResourceQuotaSelector
impl Default for ClusterResourceQuotaSelector
Source§fn default() -> ClusterResourceQuotaSelector
fn default() -> ClusterResourceQuotaSelector
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClusterResourceQuotaSelector
impl<'de> Deserialize<'de> for ClusterResourceQuotaSelector
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 ClusterResourceQuotaSelector
impl PartialEq for ClusterResourceQuotaSelector
Source§fn eq(&self, other: &ClusterResourceQuotaSelector) -> bool
fn eq(&self, other: &ClusterResourceQuotaSelector) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ClusterResourceQuotaSelector
Auto Trait Implementations§
impl Freeze for ClusterResourceQuotaSelector
impl RefUnwindSafe for ClusterResourceQuotaSelector
impl Send for ClusterResourceQuotaSelector
impl Sync for ClusterResourceQuotaSelector
impl Unpin for ClusterResourceQuotaSelector
impl UnwindSafe for ClusterResourceQuotaSelector
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