pub struct BindOptions {
pub create_mountpoint: Option<bool>,
pub non_recursive: Option<bool>,
pub propagation: Option<String>,
pub read_only_force_recursive: Option<bool>,
pub read_only_non_recursive: Option<bool>,
}
Fields§
§create_mountpoint: Option<bool>
§non_recursive: Option<bool>
§propagation: Option<String>
§read_only_force_recursive: Option<bool>
ReadOnlyForceRecursive raises an error if the mount cannot be made recursively read-only.
read_only_non_recursive: Option<bool>
ReadOnlyNonRecursive makes the mount non-recursively read-only, but still leaves the mount recursive (unless NonRecursive is set to true in conjunction).
Implementations§
Source§impl BindOptions
impl BindOptions
pub fn new() -> BindOptions
Trait Implementations§
Source§impl Clone for BindOptions
impl Clone for BindOptions
Source§fn clone(&self) -> BindOptions
fn clone(&self) -> BindOptions
Returns a duplicate 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 BindOptions
impl Debug for BindOptions
Source§impl Default for BindOptions
impl Default for BindOptions
Source§fn default() -> BindOptions
fn default() -> BindOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BindOptions
impl<'de> Deserialize<'de> for BindOptions
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 for BindOptions
impl PartialEq for BindOptions
Source§impl Serialize for BindOptions
impl Serialize for BindOptions
impl StructuralPartialEq for BindOptions
Auto Trait Implementations§
impl Freeze for BindOptions
impl RefUnwindSafe for BindOptions
impl Send for BindOptions
impl Sync for BindOptions
impl Unpin for BindOptions
impl UnwindSafe for BindOptions
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