pub struct ServiceTaskSpecContainerSpecMountBindOptionsBuilder<___State = __ServiceTaskSpecContainerSpecMountBindOptionsBuilderInitialState> { /* private fields */ }
Expand description
Use builder syntax to set the required parameters and finish by calling the method Self::build_struct()
.
Implementations§
source§impl<__Propagation> ServiceTaskSpecContainerSpecMountBindOptionsBuilder<(__Propagation,)>
impl<__Propagation> ServiceTaskSpecContainerSpecMountBindOptionsBuilder<(__Propagation,)>
sourcepub fn build_struct(self) -> ServiceTaskSpecContainerSpecMountBindOptions
pub fn build_struct(self) -> ServiceTaskSpecContainerSpecMountBindOptions
Finishes building and returns the requested object.
sourcepub fn maybe_propagation(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __ServiceTaskSpecContainerSpecMountBindOptionsBuilderSetMember>::Propagationwhere
__Propagation: IsUnset,
pub fn maybe_propagation(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __ServiceTaskSpecContainerSpecMountBindOptionsBuilderSetMember>::Propagationwhere
__Propagation: IsUnset,
Same as [Self::r#propagation
], but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn propagation(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __ServiceTaskSpecContainerSpecMountBindOptionsBuilderSetMember>::Propagationwhere
__Propagation: IsUnset,
pub fn propagation(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __ServiceTaskSpecContainerSpecMountBindOptionsBuilderSetMember>::Propagationwhere
__Propagation: IsUnset,
Bind propagation refers to whether or not mounts created within a given bind-mount or named volume can be propagated to replicas of that mount. See the docs for details. Defaults to rprivate
Auto Trait Implementations§
impl<___State> Freeze for ServiceTaskSpecContainerSpecMountBindOptionsBuilder<___State>where
___State: Freeze,
impl<___State> RefUnwindSafe for ServiceTaskSpecContainerSpecMountBindOptionsBuilder<___State>where
___State: RefUnwindSafe,
impl<___State> Send for ServiceTaskSpecContainerSpecMountBindOptionsBuilder<___State>where
___State: Send,
impl<___State> Sync for ServiceTaskSpecContainerSpecMountBindOptionsBuilder<___State>where
___State: Sync,
impl<___State> Unpin for ServiceTaskSpecContainerSpecMountBindOptionsBuilder<___State>where
___State: Unpin,
impl<___State> UnwindSafe for ServiceTaskSpecContainerSpecMountBindOptionsBuilder<___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