pub struct Mount {
pub destination: String,
pub source: Option<String>,
pub mount_type: Option<String>,
pub options: Option<Vec<String>>,
pub uid_mappings: Vec<IdMapping>,
pub gid_mappings: Vec<IdMapping>,
}Expand description
Mount configuration.
Fields§
§destination: StringMount destination (absolute path in container). REQUIRED field.
source: Option<String>Mount source (path or device).
mount_type: Option<String>Filesystem type.
options: Option<Vec<String>>Mount options.
uid_mappings: Vec<IdMapping>UID mappings for idmapped mounts.
gid_mappings: Vec<IdMapping>GID mappings for idmapped mounts.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Mount
impl<'de> Deserialize<'de> for Mount
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 Mount
impl RefUnwindSafe for Mount
impl Send for Mount
impl Sync for Mount
impl Unpin for Mount
impl UnsafeUnpin for Mount
impl UnwindSafe for Mount
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