Struct k8s_openapi::api::core::v1::NodeSelectorTerm [−][src]
pub struct NodeSelectorTerm {
pub match_expressions: Vec<NodeSelectorRequirement>,
pub match_fields: 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: Vec<NodeSelectorRequirement>A list of node selector requirements by node’s labels.
match_fields: 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 NodeSelectorTermimpl Send for NodeSelectorTermimpl Sync for NodeSelectorTermimpl Unpin for NodeSelectorTermimpl UnwindSafe for NodeSelectorTermBlanket Implementations
Mutably borrows from an owned value. Read more