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§
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 Methods§
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.