Struct k8s_openapi_ext::corev1::TopologySelectorTerm
source · pub struct TopologySelectorTerm {
pub match_label_expressions: Option<Vec<TopologySelectorLabelRequirement, Global>>,
}
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, Global>>
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: TopologySelectorTerm)
fn merge_from(&mut self, other: TopologySelectorTerm)
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<TopologySelectorTerm, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>( deserializer: D ) -> Result<TopologySelectorTerm, <D as Deserializer<'de>>::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 ==
.source§impl Serialize for TopologySelectorTerm
impl Serialize for TopologySelectorTerm
source§fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,
Serialize this value into the given Serde serializer. Read more