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

Required. A list of node selector terms. The terms are ORed.

Trait Implementations

impl Clone for NodeSelector
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for NodeSelector
[src]

Formats the value using the given formatter. Read more

impl Default for NodeSelector
[src]

Returns the "default value" for a type. Read more

impl PartialEq for NodeSelector
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for NodeSelector
[src]

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations