pub struct MountBindOptionsInlineItem {
pub create_mountpoint: Option<bool>,
pub non_recursive: Option<bool>,
pub propagation: Option<String>,
}
Expand description
Optional configuration for the bind
type.
Fields§
§create_mountpoint: Option<bool>
Create mount point on host if missing
non_recursive: Option<bool>
Disable recursive bind mount.
propagation: Option<String>
A propagation mode with the value [r]private
, [r]shared
, or [r]slave
.
Trait Implementations§
Source§impl Clone for MountBindOptionsInlineItem
impl Clone for MountBindOptionsInlineItem
Source§fn clone(&self) -> MountBindOptionsInlineItem
fn clone(&self) -> MountBindOptionsInlineItem
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 moreSource§impl Debug for MountBindOptionsInlineItem
impl Debug for MountBindOptionsInlineItem
Source§impl<'de> Deserialize<'de> for MountBindOptionsInlineItem
impl<'de> Deserialize<'de> for MountBindOptionsInlineItem
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<MountBindOptionsInlineItem, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<MountBindOptionsInlineItem, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for MountBindOptionsInlineItem
impl Serialize for MountBindOptionsInlineItem
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for MountBindOptionsInlineItem
Auto Trait Implementations§
impl Freeze for MountBindOptionsInlineItem
impl RefUnwindSafe for MountBindOptionsInlineItem
impl Send for MountBindOptionsInlineItem
impl Sync for MountBindOptionsInlineItem
impl Unpin for MountBindOptionsInlineItem
impl UnwindSafe for MountBindOptionsInlineItem
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