Struct k8s_openapi::api::core::v1::NodeSelectorTerm [−][src]
pub struct NodeSelectorTerm {
pub match_expressions: Option<Vec<NodeSelectorRequirement>>,
pub match_fields: Option<Vec<NodeSelectorRequirement>>,
}
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>>
A list of node selector requirements by node’s labels.
match_fields: Option<Vec<NodeSelectorRequirement>>
A list of node selector requirements by node’s fields.
Trait Implementations
Returns the “default value” for a type. Read more
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
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
Mutably borrows from an owned value. Read more