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 for TopologySelectorTerm
impl PartialEq for TopologySelectorTerm
Source§impl Serialize for TopologySelectorTerm
impl Serialize for TopologySelectorTerm
impl StructuralPartialEq for TopologySelectorTerm
Auto Trait Implementations§
impl Freeze for TopologySelectorTerm
impl RefUnwindSafe for TopologySelectorTerm
impl Send for TopologySelectorTerm
impl Sync for TopologySelectorTerm
impl Unpin for TopologySelectorTerm
impl UnwindSafe for TopologySelectorTerm
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more