pub enum ExecutionCommand {
Create {
input: JsonInput,
},
Update {
input: JsonInput,
},
Get {
run_id: Option<String>,
idempotency_key: Option<String>,
},
List(ExecutionListArgs),
Cancel {
run_id: String,
},
Event {
run_id: String,
input: JsonInput,
},
Events {
session_id: String,
limit: Option<u64>,
},
}Variants§
Create
Create a run from a CreateExecutionRunRequest JSON document.
Update
Update a run from an UpdateExecutionRunRequest JSON document.
Get
Get one run by ID or idempotency key.
List(ExecutionListArgs)
List runs by status, session, or limit.
Cancel
Cancel a queued or running run.
Event
Append an execution event from an AppendExecutionEventRequest JSON document.
Events
List execution events for a session.
Trait Implementations§
Source§impl Debug for ExecutionCommand
impl Debug for ExecutionCommand
Source§impl FromArgMatches for ExecutionCommand
impl FromArgMatches for ExecutionCommand
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 ExecutionCommand
impl Subcommand for ExecutionCommand
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 ExecutionCommand
impl RefUnwindSafe for ExecutionCommand
impl Send for ExecutionCommand
impl Sync for ExecutionCommand
impl Unpin for ExecutionCommand
impl UnsafeUnpin for ExecutionCommand
impl UnwindSafe for ExecutionCommand
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