pub enum ExecutionsCommand {
List {
state: Option<String>,
capability: Option<String>,
},
Show {
id: String,
},
Events {
id: String,
after: Option<u64>,
},
Cancel {
id: String,
},
Protocol,
}Expand description
The subcommands of majordomus executions.
Variants§
List
Every execution the server remembers, newest first
Fields
Show
One execution in full: its state, its steps, its diagnostics and what it produced
Events
One execution’s retained events, oldest first
Cancel
Ask an execution to stop
Protocol
The live channel’s contract: where it is, what it writes, and the schema of each message
Trait Implementations§
Source§impl Debug for ExecutionsCommand
impl Debug for ExecutionsCommand
Source§impl FromArgMatches for ExecutionsCommand
impl FromArgMatches for ExecutionsCommand
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§fn update_from_arg_matches_mut<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§impl Subcommand for ExecutionsCommand
impl Subcommand for ExecutionsCommand
Source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
Source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
Append to [
Command] so it can instantiate self via
[FromArgMatches::update_from_arg_matches_mut] Read moreSource§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Test whether
Self can parse a specific subcommandAuto Trait Implementations§
impl Freeze for ExecutionsCommand
impl RefUnwindSafe for ExecutionsCommand
impl Send for ExecutionsCommand
impl Sync for ExecutionsCommand
impl Unpin for ExecutionsCommand
impl UnsafeUnpin for ExecutionsCommand
impl UnwindSafe for ExecutionsCommand
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