pub struct VolumeMountBuilder { /* private fields */ }
Expand description
Builder for VolumeMount
.
Implementations§
Source§impl VolumeMountBuilder
impl VolumeMountBuilder
pub fn volume(&mut self, value: Option<String>) -> &mut Self
pub fn destination(&mut self, value: Option<String>) -> &mut Self
pub fn read_only(&mut self, value: Option<bool>) -> &mut Self
pub fn propagation_mode(&mut self, value: Option<String>) -> &mut Self
pub fn se_linux_label(&mut self, value: Option<String>) -> &mut Self
Sourcepub fn build(&self) -> Result<VolumeMount, VolumeMountBuilderError>
pub fn build(&self) -> Result<VolumeMount, VolumeMountBuilderError>
Trait Implementations§
Source§impl Clone for VolumeMountBuilder
impl Clone for VolumeMountBuilder
Source§fn clone(&self) -> VolumeMountBuilder
fn clone(&self) -> VolumeMountBuilder
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for VolumeMountBuilder
impl RefUnwindSafe for VolumeMountBuilder
impl Send for VolumeMountBuilder
impl Sync for VolumeMountBuilder
impl Unpin for VolumeMountBuilder
impl UnwindSafe for VolumeMountBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more