Struct k8s_openapi::api::core::v1::TopologySelectorTerm
source · pub struct TopologySelectorTerm {
pub match_label_expressions: Option<Vec<TopologySelectorLabelRequirement>>,
}
Expand description
A topology selector term represents the result of label queries. A null or empty topology selector term matches no objects. The requirements of them are ANDed. It provides a subset of functionality as NodeSelectorTerm. This is an alpha feature and may change in the future.
Fields§
§match_label_expressions: Option<Vec<TopologySelectorLabelRequirement>>
A list of topology selector requirements by labels.
Trait Implementations§
source§impl Clone for TopologySelectorTerm
impl Clone for TopologySelectorTerm
source§fn clone(&self) -> TopologySelectorTerm
fn clone(&self) -> TopologySelectorTerm
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TopologySelectorTerm
impl Debug for TopologySelectorTerm
source§impl DeepMerge for TopologySelectorTerm
impl DeepMerge for TopologySelectorTerm
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.source§impl Default for TopologySelectorTerm
impl Default for TopologySelectorTerm
source§fn default() -> TopologySelectorTerm
fn default() -> TopologySelectorTerm
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TopologySelectorTerm
impl<'de> Deserialize<'de> for TopologySelectorTerm
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<TopologySelectorTerm> for TopologySelectorTerm
impl PartialEq<TopologySelectorTerm> for TopologySelectorTerm
source§fn eq(&self, other: &TopologySelectorTerm) -> bool
fn eq(&self, other: &TopologySelectorTerm) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.