pub struct MountPoint {
pub mount_type: String,
pub name: String,
pub source: String,
pub destination: String,
pub mode: String,
pub rw: bool,
}Expand description
Mount description subset.
Fields§
§mount_type: StringMount type.
name: StringVolume name when applicable.
source: StringSource path or volume mountpoint.
destination: StringDestination path inside the container.
mode: StringMount mode.
rw: boolWhether the mount is writable.
Trait Implementations§
Source§impl Clone for MountPoint
impl Clone for MountPoint
Source§fn clone(&self) -> MountPoint
fn clone(&self) -> MountPoint
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MountPoint
impl Debug for MountPoint
Source§impl<'de> Deserialize<'de> for MountPoint
impl<'de> Deserialize<'de> for MountPoint
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
Auto Trait Implementations§
impl Freeze for MountPoint
impl RefUnwindSafe for MountPoint
impl Send for MountPoint
impl Sync for MountPoint
impl Unpin for MountPoint
impl UnsafeUnpin for MountPoint
impl UnwindSafe for MountPoint
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