pub struct TopologySelectorLabelRequirement {
pub key: String,
pub values: Vec<String>,
}Expand description
A topology selector requirement is a selector that matches given label. This is an alpha feature and may change in the future.
Fields§
§key: StringThe label key that the selector applies to.
values: Vec<String>An array of string values. One value must match the label to be selected. Each entry in Values is ORed.
Trait Implementations§
Source§impl DeepMerge for TopologySelectorLabelRequirement
impl DeepMerge for TopologySelectorLabelRequirement
Source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other into self.Source§impl<'de> Deserialize<'de> for TopologySelectorLabelRequirement
impl<'de> Deserialize<'de> for TopologySelectorLabelRequirement
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
impl StructuralPartialEq for TopologySelectorLabelRequirement
Auto Trait Implementations§
impl Freeze for TopologySelectorLabelRequirement
impl RefUnwindSafe for TopologySelectorLabelRequirement
impl Send for TopologySelectorLabelRequirement
impl Sync for TopologySelectorLabelRequirement
impl Unpin for TopologySelectorLabelRequirement
impl UnsafeUnpin for TopologySelectorLabelRequirement
impl UnwindSafe for TopologySelectorLabelRequirement
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