Enum docker_compose::v2::HostVolume
[−]
[src]
pub enum HostVolume { Path(PathBuf), UserRelativePath(PathBuf), Name(String), }
Where can we find the volume we want to map into a container?
Variants
Path(PathBuf)
This volume corresponds to a path on the host. It may be a relative or absolute path.
UserRelativePath(PathBuf)
A path relative to the current user's home directory on the host. Must be a relative path.
Name(String)
This volume corresponds to a volume named in the top-level
volumes
section.
Trait Implementations
impl Eq for HostVolume
[src]
impl PartialEq for HostVolume
[src]
fn eq(&self, __arg_0: &HostVolume) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &HostVolume) -> bool
This method tests for !=
.
impl Clone for HostVolume
[src]
fn clone(&self) -> HostVolume
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more