Struct oci_spec::runtime::Mount [−][src]
pub struct Mount {
pub destination: PathBuf,
pub typ: Option<String>,
pub source: Option<PathBuf>,
pub options: Option<Vec<String>>,
}
Expand description
Mount specifies a mount for a container.
Fields
destination: PathBuf
Destination is the absolute path where the mount will be placed in the container.
typ: Option<String>
Type specifies the mount kind.
source: Option<PathBuf>
Source specifies the source path of the mount.
options: Option<Vec<String>>
Options are fstab style mount options.
Trait Implementations
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 RefUnwindSafe for Mount
impl UnwindSafe for Mount
Blanket Implementations
Mutably borrows from an owned value. Read more