Struct k8s_openapi::v1_11::api::core::v1::TopologySelectorLabelRequirement[][src]

pub struct TopologySelectorLabelRequirement {
    pub key: String,
    pub values: Vec<String>,
}

A topology selector requirement is a selector that matches given label. This is an alpha feature and may change in the future.

Fields

The label key that the selector applies to.

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]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for TopologySelectorLabelRequirement
[src]

Formats the value using the given formatter. Read more

impl Default for TopologySelectorLabelRequirement
[src]

Returns the "default value" for a type. Read more

impl PartialEq for TopologySelectorLabelRequirement
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'de> Deserialize<'de> for TopologySelectorLabelRequirement
[src]

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for TopologySelectorLabelRequirement
[src]

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations