pub enum Command {
Null(SourceSpan),
String(Located<String>),
List {
span: SourceSpan,
values: Vec<Located<String>>,
},
}Expand description
A Compose service command with null, scalar, and list forms retained.
Variants§
Null(SourceSpan)
Explicit null: use the command declared by the image.
String(Located<String>)
Scalar syntax, including an explicitly empty string.
List
List syntax, including an explicitly empty list.
Implementations§
Trait Implementations§
impl Eq for Command
impl StructuralPartialEq for Command
Auto Trait Implementations§
impl Freeze for Command
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnsafeUnpin for Command
impl UnwindSafe for Command
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more