Struct k8s_openapi::v1_11::api::core::v1::TopologySelectorLabelRequirement [−][src]
A topology selector requirement is a selector that matches given label. This is an alpha feature and may change in the future.
Fields
key: String
The 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
impl Clone for TopologySelectorLabelRequirement
[src]
impl Clone for TopologySelectorLabelRequirement
fn clone(&self) -> TopologySelectorLabelRequirement
[src]
fn clone(&self) -> TopologySelectorLabelRequirement
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for TopologySelectorLabelRequirement
[src]
impl Debug for TopologySelectorLabelRequirement
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for TopologySelectorLabelRequirement
[src]
impl Default for TopologySelectorLabelRequirement
fn default() -> TopologySelectorLabelRequirement
[src]
fn default() -> TopologySelectorLabelRequirement
Returns the "default value" for a type. Read more
impl PartialEq for TopologySelectorLabelRequirement
[src]
impl PartialEq for TopologySelectorLabelRequirement
fn eq(&self, other: &TopologySelectorLabelRequirement) -> bool
[src]
fn eq(&self, other: &TopologySelectorLabelRequirement) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &TopologySelectorLabelRequirement) -> bool
[src]
fn ne(&self, other: &TopologySelectorLabelRequirement) -> bool
This method tests for !=
.
impl<'de> Deserialize<'de> for TopologySelectorLabelRequirement
[src]
impl<'de> Deserialize<'de> for TopologySelectorLabelRequirement
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Serialize for TopologySelectorLabelRequirement
[src]
impl Serialize for TopologySelectorLabelRequirement
Auto Trait Implementations
impl Send for TopologySelectorLabelRequirement
impl Send for TopologySelectorLabelRequirement
impl Sync for TopologySelectorLabelRequirement
impl Sync for TopologySelectorLabelRequirement