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

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: Option<String>

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

namespace: Option<String>

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

Trait Implementations

impl Clone for SecretReference[src]

impl Debug for SecretReference[src]

impl Default for SecretReference[src]

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

impl PartialEq<SecretReference> for SecretReference[src]

impl Serialize for SecretReference[src]

impl StructuralPartialEq for SecretReference[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.