Struct k8s_openapi::v1_7::kubernetes::pkg::api::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 NodeSelectorfn clone(&self) -> NodeSelector[src]
fn clone(&self) -> NodeSelectorReturns 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 NodeSelectorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Default for NodeSelector[src]
impl Default for NodeSelectorfn default() -> NodeSelector[src]
fn default() -> NodeSelectorReturns the "default value" for a type. Read more
impl PartialEq for NodeSelector[src]
impl PartialEq for NodeSelectorfn eq(&self, other: &NodeSelector) -> bool[src]
fn eq(&self, other: &NodeSelector) -> boolThis 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) -> boolThis method tests for !=.
impl<'de> Deserialize<'de> for NodeSelector[src]
impl<'de> Deserialize<'de> for NodeSelectorfn 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 NodeSelectorAuto Trait Implementations
impl Send for NodeSelector
impl Send for NodeSelectorimpl Sync for NodeSelector
impl Sync for NodeSelector