pub struct MountBuilder { /* private fields */ }Expand description
Builder for Mount.
Implementations§
Source§impl MountBuilder
impl MountBuilder
Sourcepub fn destination<VALUE: Into<PathBuf>>(self, value: VALUE) -> Self
pub fn destination<VALUE: Into<PathBuf>>(self, value: VALUE) -> Self
Destination is the absolute path where the mount will be placed in the container.
Sourcepub fn source<VALUE: Into<PathBuf>>(self, value: VALUE) -> Self
pub fn source<VALUE: Into<PathBuf>>(self, value: VALUE) -> Self
Source specifies the source path of the mount.