[][src]Struct k8s_openapi::api::core::v1::NodeSelector

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 Debug for NodeSelector[src]

impl Default for NodeSelector[src]

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

impl PartialEq<NodeSelector> for NodeSelector[src]

impl Serialize for NodeSelector[src]

impl StructuralPartialEq for NodeSelector[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.