Trait PodTemplateSpecExt

Source
pub trait PodTemplateSpecExt {
    // Required methods
    fn new(name: impl ToString) -> Self;
    fn labels(
        self,
        labels: impl IntoIterator<Item = (impl ToString, impl ToString)>,
    ) -> Self;
    fn pod_spec(self, spec: PodSpec) -> Self;
}

Required Methods§

Source

fn new(name: impl ToString) -> Self

Source

fn labels( self, labels: impl IntoIterator<Item = (impl ToString, impl ToString)>, ) -> Self

Source

fn pod_spec(self, spec: PodSpec) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§