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