#[non_exhaustive]pub enum GeneratedCommand {
Exec(Vec<GeneratedString>),
Shell(GeneratedString),
Empty,
}Expand description
Compose command form selected for a generated service.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Exec(Vec<GeneratedString>)
Execute an exact argument vector without Compose shell parsing.
Shell(GeneratedString)
Execute one Compose shell-form command.
Empty
Explicitly clear the image command.
Trait Implementations§
Source§impl Clone for GeneratedCommand
impl Clone for GeneratedCommand
Source§fn clone(&self) -> GeneratedCommand
fn clone(&self) -> GeneratedCommand
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GeneratedCommand
impl Debug for GeneratedCommand
impl Eq for GeneratedCommand
Source§impl PartialEq for GeneratedCommand
impl PartialEq for GeneratedCommand
impl StructuralPartialEq for GeneratedCommand
Auto Trait Implementations§
impl Freeze for GeneratedCommand
impl RefUnwindSafe for GeneratedCommand
impl Send for GeneratedCommand
impl Sync for GeneratedCommand
impl Unpin for GeneratedCommand
impl UnsafeUnpin for GeneratedCommand
impl UnwindSafe for GeneratedCommand
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