[][src]Struct k8_obj_metadata::TemplateMeta

pub struct TemplateMeta {
    pub name: Option<String>,
    pub creation_timestamp: Option<String>,
    pub labels: HashMap<String, String>,
}

name is optional for template

Fields

name: Option<String>creation_timestamp: Option<String>labels: HashMap<String, String>

Methods

impl TemplateMeta[src]

pub fn named<S>(name: S) -> Self where
    S: Into<String>, 
[src]

create with name and default namespace

Trait Implementations

impl Clone for TemplateMeta[src]

impl Debug for TemplateMeta[src]

impl Default for TemplateMeta[src]

impl<'de> Deserialize<'de> for TemplateMeta where
    TemplateMeta: Default
[src]

impl LabelProvider for TemplateMeta[src]

impl Serialize for TemplateMeta[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: 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.