Enum docker_compose::v2::ServiceOrContainer
[−]
[src]
pub enum ServiceOrContainer { Service(String), Container(String), }
The name of either a service or a container.
Variants
Service(String)
The local name of a service defined in this docker-compose.yml
file.
Container(String)
The global name of a container running under Docker.
Trait Implementations
impl Eq for ServiceOrContainer
[src]
impl PartialEq for ServiceOrContainer
[src]
fn eq(&self, __arg_0: &ServiceOrContainer) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ServiceOrContainer) -> bool
This method tests for !=
.
impl Clone for ServiceOrContainer
[src]
fn clone(&self) -> ServiceOrContainer
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