Struct k8s_openapi::v1_8::api::core::v1::NodeSelector [−][src]
pub struct NodeSelector { pub node_selector_terms: Vec<NodeSelectorTerm>, }
A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms.
Fields
node_selector_terms: Vec<NodeSelectorTerm>
Required. A list of node selector terms. The terms are ORed.
Trait Implementations
impl Clone for NodeSelector
[src]
impl Clone for NodeSelector
fn clone(&self) -> NodeSelector
[src]
fn clone(&self) -> NodeSelector
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for NodeSelector
[src]
impl Debug for NodeSelector
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for NodeSelector
[src]
impl Default for NodeSelector
fn default() -> NodeSelector
[src]
fn default() -> NodeSelector
Returns the "default value" for a type. Read more
impl PartialEq for NodeSelector
[src]
impl PartialEq for NodeSelector
fn eq(&self, other: &NodeSelector) -> bool
[src]
fn eq(&self, other: &NodeSelector) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &NodeSelector) -> bool
[src]
fn ne(&self, other: &NodeSelector) -> bool
This method tests for !=
.
impl<'de> Deserialize<'de> for NodeSelector
[src]
impl<'de> Deserialize<'de> for NodeSelector
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Serialize for NodeSelector
[src]
impl Serialize for NodeSelector
Auto Trait Implementations
impl Send for NodeSelector
impl Send for NodeSelector
impl Sync for NodeSelector
impl Sync for NodeSelector