Struct k8s_openapi_ext::corev1::NodeSelectorTerm  
source · [−]pub struct NodeSelectorTerm {
    pub match_expressions: Option<Vec<NodeSelectorRequirement, Global>>,
    pub match_fields: Option<Vec<NodeSelectorRequirement, Global>>,
}Expand description
A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm.
Fields
match_expressions: Option<Vec<NodeSelectorRequirement, Global>>A list of node selector requirements by node’s labels.
match_fields: Option<Vec<NodeSelectorRequirement, Global>>A list of node selector requirements by node’s fields.
Trait Implementations
sourceimpl Clone for NodeSelectorTerm
 
impl Clone for NodeSelectorTerm
sourcefn clone(&self) -> NodeSelectorTerm
 
fn clone(&self) -> NodeSelectorTerm
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moresourceimpl Debug for NodeSelectorTerm
 
impl Debug for NodeSelectorTerm
sourceimpl DeepMerge for NodeSelectorTerm
 
impl DeepMerge for NodeSelectorTerm
sourcefn merge_from(&mut self, other: NodeSelectorTerm)
 
fn merge_from(&mut self, other: NodeSelectorTerm)
Merge 
other into self.sourceimpl Default for NodeSelectorTerm
 
impl Default for NodeSelectorTerm
sourcefn default() -> NodeSelectorTerm
 
fn default() -> NodeSelectorTerm
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for NodeSelectorTerm
 
impl<'de> Deserialize<'de> for NodeSelectorTerm
sourcefn deserialize<D>(
    deserializer: D
) -> Result<NodeSelectorTerm, <D as Deserializer<'de>>::Error>where
    D: Deserializer<'de>,
 
fn deserialize<D>(
    deserializer: D
) -> Result<NodeSelectorTerm, <D as Deserializer<'de>>::Error>where
    D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<NodeSelectorTerm> for NodeSelectorTerm
 
impl PartialEq<NodeSelectorTerm> for NodeSelectorTerm
sourcefn eq(&self, other: &NodeSelectorTerm) -> bool
 
fn eq(&self, other: &NodeSelectorTerm) -> bool
sourceimpl Serialize for NodeSelectorTerm
 
impl Serialize for NodeSelectorTerm
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 NodeSelectorTerm
Auto Trait Implementations
impl RefUnwindSafe for NodeSelectorTerm
impl Send for NodeSelectorTerm
impl Sync for NodeSelectorTerm
impl Unpin for NodeSelectorTerm
impl UnwindSafe for NodeSelectorTerm
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