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
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 Debug for CommandLine
[src]
impl Clone for CommandLine
[src]
fn clone(&self) -> CommandLine
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Eq for CommandLine
[src]
impl PartialEq for CommandLine
[src]
fn eq(&self, __arg_0: &CommandLine) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &CommandLine) -> bool
[src]
This method tests for !=
.
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 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 Serialize for CommandLine
[src]
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where
S: Serializer,
[src]
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl<'de> Deserialize<'de> for CommandLine
[src]
fn deserialize<D>(deserializer: D) -> Result<CommandLine, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more