[][src]Struct ktmpl::Secret

pub struct Secret {
    pub name: String,
    pub namespace: String,
}

A Kubernetes secret.

If a set of these values is passed to a Template, all of the secret's data values will be Base64 encoded after interpolation of parameters.

Fields

name: String

The name of the secret.

namespace: String

The namespace of the secret.

Trait Implementations

impl Eq for Secret[src]

impl PartialEq<Secret> for Secret[src]

impl Debug for Secret[src]

impl Hash for Secret[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

impl Send for Secret

impl Sync for Secret

Blanket Implementations

impl<T> From for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

The type returned in the event of a conversion error.

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