pub struct MountPoint {
pub destination: Option<String>,
pub driver: Option<String>,
pub mode: Option<String>,
pub name: Option<String>,
pub propagation: Option<String>,
pub rw: Option<bool>,
pub source: Option<String>,
pub type: Option<String>,
}Expand description
MountPoint : This is used for reporting the mountpoints in use by a container.
Fields§
§destination: Option<String>Destination is the path relative to the container root (/) where the Source is mounted inside the container.
driver: Option<String>Driver is the volume driver used to create the volume (if it is a volume).
mode: Option<String>Mode is a comma separated list of options supplied by the user when creating the bind/volume mount. The default is platform-specific (\"z\" on Linux, empty on Windows).
name: Option<String>Name is the name reference to the underlying data defined by Source e.g., the volume name.
propagation: Option<String>§rw: Option<bool>RW indicates whether the mount is mounted writable (read-write).
source: Option<String>Source is the source location of the mount. For volumes, this contains the storage location of the volume (within /var/lib/docker/volumes/). For bind-mounts, and npipe, this contains the source (host) part of the bind-mount. For tmpfs mount points, this field is empty.
type: Option<String>Implementations§
Source§impl MountPoint
impl MountPoint
Sourcepub fn new() -> MountPoint
pub fn new() -> MountPoint
This is used for reporting the mountpoints in use by a container.
Trait Implementations§
Source§impl Clone for MountPoint
impl Clone for MountPoint
Source§fn clone(&self) -> MountPoint
fn clone(&self) -> MountPoint
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more