Struct bollard_stubs::models::MountBindOptions
source · pub struct MountBindOptions {
pub propagation: Option<MountBindOptionsPropagationEnum>,
pub non_recursive: Option<bool>,
pub create_mountpoint: Option<bool>,
}
Expand description
Optional configuration for the bind
type.
Fields§
§propagation: Option<MountBindOptionsPropagationEnum>
A propagation mode with the value [r]private
, [r]shared
, or [r]slave
.
non_recursive: Option<bool>
Disable recursive bind mount.
create_mountpoint: Option<bool>
Create mount point on host if missing
Trait Implementations§
source§impl Clone for MountBindOptions
impl Clone for MountBindOptions
source§fn clone(&self) -> MountBindOptions
fn clone(&self) -> MountBindOptions
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 MountBindOptions
impl Debug for MountBindOptions
source§impl Default for MountBindOptions
impl Default for MountBindOptions
source§fn default() -> MountBindOptions
fn default() -> MountBindOptions
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for MountBindOptions
impl<'de> Deserialize<'de> for MountBindOptions
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<MountBindOptions> for MountBindOptions
impl PartialEq<MountBindOptions> for MountBindOptions
source§fn eq(&self, other: &MountBindOptions) -> bool
fn eq(&self, other: &MountBindOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.