[][src]Struct openshift_openapi::api::quota::v1::ClusterResourceQuotaSelector

pub struct ClusterResourceQuotaSelector {
    pub annotations: BTreeMap<String, String>,
    pub labels: LabelSelector,
}

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

impl Clone for ClusterResourceQuotaSelector[src]

impl Debug for ClusterResourceQuotaSelector[src]

impl Default for ClusterResourceQuotaSelector[src]

impl<'de> Deserialize<'de> for ClusterResourceQuotaSelector[src]

impl PartialEq<ClusterResourceQuotaSelector> for ClusterResourceQuotaSelector[src]

impl Serialize for ClusterResourceQuotaSelector[src]

impl StructuralPartialEq for ClusterResourceQuotaSelector[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.