pub struct ContainerMountTmpfsOptionsBuilder<___State = __ContainerMountTmpfsOptionsBuilderInitialState> { /* private fields */ }
Expand description
Use builder syntax to set the required parameters and finish by calling the method Self::build_struct()
.
Implementations§
source§impl<__Mode, __SizeBytes> ContainerMountTmpfsOptionsBuilder<(__Mode, __SizeBytes)>
impl<__Mode, __SizeBytes> ContainerMountTmpfsOptionsBuilder<(__Mode, __SizeBytes)>
sourcepub fn build_struct(self) -> ContainerMountTmpfsOptions
pub fn build_struct(self) -> ContainerMountTmpfsOptions
Finishes building and returns the requested object.
sourcepub fn maybe_mode(
self,
value: Option<impl Into<Box<Option<i32>>>>,
) -> <Self as __ContainerMountTmpfsOptionsBuilderSetMember>::Modewhere
__Mode: IsUnset,
pub fn maybe_mode(
self,
value: Option<impl Into<Box<Option<i32>>>>,
) -> <Self as __ContainerMountTmpfsOptionsBuilderSetMember>::Modewhere
__Mode: IsUnset,
Same as [Self::r#mode
], but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn mode(
self,
value: impl Into<Box<Option<i32>>>,
) -> <Self as __ContainerMountTmpfsOptionsBuilderSetMember>::Modewhere
__Mode: IsUnset,
pub fn mode(
self,
value: impl Into<Box<Option<i32>>>,
) -> <Self as __ContainerMountTmpfsOptionsBuilderSetMember>::Modewhere
__Mode: IsUnset,
The permission mode for the tmpfs mount in an integer.
Auto Trait Implementations§
impl<___State> Freeze for ContainerMountTmpfsOptionsBuilder<___State>where
___State: Freeze,
impl<___State> RefUnwindSafe for ContainerMountTmpfsOptionsBuilder<___State>where
___State: RefUnwindSafe,
impl<___State> Send for ContainerMountTmpfsOptionsBuilder<___State>where
___State: Send,
impl<___State> Sync for ContainerMountTmpfsOptionsBuilder<___State>where
___State: Sync,
impl<___State> Unpin for ContainerMountTmpfsOptionsBuilder<___State>where
___State: Unpin,
impl<___State> UnwindSafe for ContainerMountTmpfsOptionsBuilder<___State>where
___State: UnwindSafe,
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