Struct k8s_openapi_ext::corev1::ScopeSelector
source · [−]pub struct ScopeSelector {
pub match_expressions: Option<Vec<ScopedResourceSelectorRequirement, Global>>,
}
Expand description
A scope selector represents the AND of the selectors represented by the scoped-resource selector requirements.
Fields
match_expressions: Option<Vec<ScopedResourceSelectorRequirement, Global>>
A list of scope selector requirements by scope of the resources.
Trait Implementations
sourceimpl Clone for ScopeSelector
impl Clone for ScopeSelector
sourcefn clone(&self) -> ScopeSelector
fn clone(&self) -> ScopeSelector
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ScopeSelector
impl Debug for ScopeSelector
sourceimpl DeepMerge for ScopeSelector
impl DeepMerge for ScopeSelector
sourcefn merge_from(&mut self, other: ScopeSelector)
fn merge_from(&mut self, other: ScopeSelector)
Merge
other
into self
.sourceimpl Default for ScopeSelector
impl Default for ScopeSelector
sourcefn default() -> ScopeSelector
fn default() -> ScopeSelector
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ScopeSelector
impl<'de> Deserialize<'de> for ScopeSelector
sourcefn deserialize<D>(
deserializer: D
) -> Result<ScopeSelector, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<ScopeSelector, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<ScopeSelector> for ScopeSelector
impl PartialEq<ScopeSelector> for ScopeSelector
sourcefn eq(&self, other: &ScopeSelector) -> bool
fn eq(&self, other: &ScopeSelector) -> bool
sourceimpl Serialize for ScopeSelector
impl Serialize for ScopeSelector
sourcefn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ScopeSelector
Auto Trait Implementations
impl RefUnwindSafe for ScopeSelector
impl Send for ScopeSelector
impl Sync for ScopeSelector
impl Unpin for ScopeSelector
impl UnwindSafe for ScopeSelector
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more