[][src]Enum compose_yml::v2::CommandLine

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

A command line to be executed by Docker.

Variants

ShellCode(RawOr<String>)

A command-line specified as unparsed shell code.

Parsed(Vec<RawOr<String>>)

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 InterpolateAll for CommandLine
[src]

fn interpolate_all(&mut self) -> Result<()>
[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 MergeOverride for CommandLine
[src]

fn merge_override(&self, ovr: &Self) -> Self
[src]

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

impl Eq for CommandLine
[src]

impl PartialEq<CommandLine> for CommandLine
[src]

impl Clone for CommandLine
[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for CommandLine
[src]

impl Serialize for CommandLine
[src]

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

Auto Trait Implementations

impl Send for CommandLine

impl Sync for CommandLine

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.