Trait ConfigMapVolumeSourceExt

Source
pub trait ConfigMapVolumeSourceExt: Sized {
    // Required methods
    fn new(name: impl ToString) -> Self;
    fn optional(self, yes: bool) -> Self;
    fn default_mode(self, mode: i32) -> Self;
    fn items(
        self,
        items: impl IntoIterator<Item = (impl ToString, impl ToString)>,
    ) -> Self;

    // Provided method
    fn required(self) -> Self { ... }
}
Expand description

Builders for corev1::SecretVolumeSource objects

Required Methods§

Source

fn new(name: impl ToString) -> Self

Source

fn optional(self, yes: bool) -> Self

Source

fn default_mode(self, mode: i32) -> Self

Source

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

Provided Methods§

Source

fn required(self) -> 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§