Enum docker_compose::v2::CommandLine [] [src]

pub enum CommandLine {
    ShellCode(RawOr<String>),
    Parsed(Vec<RawOr<String>>),
}

A command line to be executed by Docker.

Variants

A command-line specified as unparsed shell code.

A pre-parsed command-line. This may actually be empty for fields like command, so we don't try to enforce a minimal length, even if other fields like entrypoint supposedly want at least one entry.

Trait Implementations

impl PartialEq for CommandLine
[src]

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

This method tests for !=.

impl Eq for CommandLine
[src]

impl Clone for CommandLine
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for CommandLine
[src]

Formats the value using the given formatter.

impl MergeOverride for CommandLine
[src]

Given this value and an override value, merge the override value into this one, producing a new value. Read more

impl InterpolateAll for CommandLine
[src]

Recursively walk over this type, interpolating all RawOr values containing references to the environment. The default implementation leaves a value unchanged. Read more

impl Serialize for CommandLine
[src]

Serializes this value into this serializer.

impl Deserialize for CommandLine
[src]

Deserialize this value given this Deserializer.