pub enum RuntimeCommand {
Create(RuntimeCreateArgs),
Get {
runtime_id: String,
},
Rename {
runtime_id: String,
name: String,
expected_revision: u64,
idempotency_key: Option<String>,
},
Activate {
runtime_id: String,
input: JsonInput,
},
Suspend {
runtime_id: String,
input: JsonInput,
},
Resume {
runtime_id: String,
input: JsonInput,
},
Revoke {
runtime_id: String,
input: JsonInput,
},
}Variants§
Create(RuntimeCreateArgs)
Create a named runtime identity.
Get
Get a runtime identity by ID.
Rename
Change a runtime identity name without changing its ID.
Activate
Activate a pending runtime identity using a TransitionIdentityRequest JSON document.
Suspend
Suspend an active runtime identity using a TransitionIdentityRequest JSON document.
Resume
Resume a suspended runtime identity using a TransitionIdentityRequest JSON document.
Revoke
Revoke a runtime identity using a TransitionIdentityRequest JSON document.
Trait Implementations§
Source§impl Debug for RuntimeCommand
impl Debug for RuntimeCommand
Source§impl FromArgMatches for RuntimeCommand
impl FromArgMatches for RuntimeCommand
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 RuntimeCommand
impl Subcommand for RuntimeCommand
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 RuntimeCommand
impl RefUnwindSafe for RuntimeCommand
impl Send for RuntimeCommand
impl Sync for RuntimeCommand
impl Unpin for RuntimeCommand
impl UnsafeUnpin for RuntimeCommand
impl UnwindSafe for RuntimeCommand
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