pub struct ContainerWithMountedFileOptsBuilder<'a> { /* private fields */ }Expand description
Builder for ContainerWithMountedFileOpts.
Implementations§
source§impl<'a> ContainerWithMountedFileOptsBuilder<'a>
impl<'a> ContainerWithMountedFileOptsBuilder<'a>
sourcepub fn owner<VALUE: Into<&'a str>>(&mut self, value: VALUE) -> &mut Self
pub fn owner<VALUE: Into<&'a str>>(&mut self, value: VALUE) -> &mut Self
A user or user:group to set for the mounted file. The user and group can either be an ID (1000:1000) or a name (foo:bar). If the group is omitted, it defaults to the same as the user.
sourcepub fn build(
&self,
) -> Result<ContainerWithMountedFileOpts<'a>, ContainerWithMountedFileOptsBuilderError>
pub fn build( &self, ) -> Result<ContainerWithMountedFileOpts<'a>, ContainerWithMountedFileOptsBuilderError>
Trait Implementations§
source§impl<'a> Clone for ContainerWithMountedFileOptsBuilder<'a>
impl<'a> Clone for ContainerWithMountedFileOptsBuilder<'a>
source§fn clone(&self) -> ContainerWithMountedFileOptsBuilder<'a>
fn clone(&self) -> ContainerWithMountedFileOptsBuilder<'a>
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<'a> Freeze for ContainerWithMountedFileOptsBuilder<'a>
impl<'a> RefUnwindSafe for ContainerWithMountedFileOptsBuilder<'a>
impl<'a> Send for ContainerWithMountedFileOptsBuilder<'a>
impl<'a> Sync for ContainerWithMountedFileOptsBuilder<'a>
impl<'a> Unpin for ContainerWithMountedFileOptsBuilder<'a>
impl<'a> UnwindSafe for ContainerWithMountedFileOptsBuilder<'a>
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)