Enum compose_yml::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 Debug for CommandLine
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for CommandLine
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Eq for CommandLine
[src]

impl PartialEq for CommandLine
[src]

[src]

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

[src]

This method tests for !=.

impl MergeOverride for CommandLine
[src]

[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]

[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]

[src]

Serialize this value into the given Serde serializer. Read more

impl<'de> Deserialize<'de> for CommandLine
[src]

[src]

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

impl Send for CommandLine

impl Sync for CommandLine