Struct k8s_openapi::v1_7::kubernetes::pkg::api::v1::SecretKeySelector[][src]

pub struct SecretKeySelector {
    pub key: String,
    pub name: Option<String>,
    pub optional: Option<bool>,
}

SecretKeySelector selects a key of a Secret.

Fields

The key of the secret to select from. Must be a valid secret key.

Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names

Specify whether the Secret or it's key must be defined

Trait Implementations

impl Clone for SecretKeySelector
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for SecretKeySelector
[src]

Formats the value using the given formatter. Read more

impl Default for SecretKeySelector
[src]

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

impl PartialEq for SecretKeySelector
[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 SecretKeySelector
[src]

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for SecretKeySelector
[src]

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations