pub struct BindMount {
pub source: String,
pub destination: String,
pub ignore_non_existing: bool,
pub options: u64,
}
Fields§
§source: String
The source folder of the bind mount.
destination: String
The destination folder of the bind mount.
ignore_non_existing: bool
Ignore the bind mount if the source folder does not exist.
options: u64
Additional options for the bind mount as bitmask.
Currently only the BIND_MOUNT_RECURSIVE
option exists.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BindMount
impl<'de> Deserialize<'de> for BindMount
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 TryFrom<BindMount> for OwnedValue
impl TryFrom<BindMount> for OwnedValue
Source§impl TryFrom<OwnedValue> for BindMount
impl TryFrom<OwnedValue> for BindMount
impl Eq for BindMount
impl StructuralPartialEq for BindMount
Auto Trait Implementations§
impl Freeze for BindMount
impl RefUnwindSafe for BindMount
impl Send for BindMount
impl Sync for BindMount
impl Unpin for BindMount
impl UnwindSafe for BindMount
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de>,
impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de>,
Source§type Deserializer = PhantomData<T>
type Deserializer = PhantomData<T>
A DeserializeSeed implementation for this type.
Source§fn deserializer_for_signature(
signature: &Signature,
) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
fn deserializer_for_signature( signature: &Signature, ) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
Get a deserializer compatible with this parsed signature.