Struct k8s_openapi::v1_8::api::core::v1::SecretReference[][src]

pub struct SecretReference {
    pub name: Option<String>,
    pub namespace: Option<String>,
}

SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace

Fields

Name is unique within a namespace to reference a secret resource.

Namespace defines the space within which the secret name must be unique.

Trait Implementations

impl Clone for SecretReference
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for SecretReference
[src]

Formats the value using the given formatter. Read more

impl Default for SecretReference
[src]

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

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

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for SecretReference
[src]

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations