Enum docker_compose::v2::ServiceOrContainer [] [src]

pub enum ServiceOrContainer {
    Service(String),
    Container(String),
}

The name of either a service or a container.

Variants

The local name of a service defined in this docker-compose.yml file.

The global name of a container running under Docker.

Trait Implementations

impl Eq for ServiceOrContainer
[src]

impl PartialEq for ServiceOrContainer
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Clone for ServiceOrContainer
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ServiceOrContainer
[src]

Formats the value using the given formatter.