[−][src]Struct docker_command::Volume
Volume specification used when running a container.
Fields
src: PathBuf
Either a path on the host (if an absolute path) or the name of a volume.
dst: PathBuf
Absolute path in the container where the volume will be mounted.
read_write: bool
If true, mount the volume read-write. Defaults to false
.
options: Vec<String>
Additional options to set on the volume.
Implementations
impl Volume
[src]
Trait Implementations
impl Clone for Volume
[src]
impl Debug for Volume
[src]
impl Default for Volume
[src]
impl Eq for Volume
[src]
impl PartialEq<Volume> for Volume
[src]
impl StructuralEq for Volume
[src]
impl StructuralPartialEq for Volume
[src]
Auto Trait Implementations
impl RefUnwindSafe for Volume
impl Send for Volume
impl Sync for Volume
impl Unpin for Volume
impl UnwindSafe for Volume
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,