pub enum ApiCommands {
Show 19 variants
Create {
file: Option<String>,
resource_type: String,
},
Read {
resource_type: String,
id: String,
},
VersionRead {
resource_type: String,
id: String,
version_id: String,
},
Patch {
file: String,
resource_type: String,
id: String,
},
Update {
file: Option<String>,
resource_type: String,
id: String,
},
Transaction {
parallel: Option<usize>,
file: Option<String>,
output: Option<bool>,
},
Batch {
file: Option<String>,
output: Option<bool>,
},
HistorySystem {
parameters: Option<String>,
},
HistoryType {
resource_type: String,
parameters: Option<String>,
},
HistoryInstance {
resource_type: String,
id: String,
parameters: Option<String>,
},
SearchType {
resource_type: String,
parameters: Option<String>,
},
SearchSystem {
parameters: Option<String>,
},
InvokeSystem {
file: Option<String>,
operation_name: String,
},
InvokeType {
file: Option<String>,
resource_type: String,
operation_name: String,
},
Capabilities {},
DeleteInstance {
resource_type: String,
id: String,
},
DeleteType {
resource_type: String,
parameters: Option<String>,
},
DeleteSystem {
parameters: Option<String>,
},
InvokeInstance {
file: Option<String>,
resource_type: String,
id: String,
operation_name: String,
},
}Variants§
Create
Read
VersionRead
Patch
Update
Transaction
Batch
HistorySystem
HistoryType
HistoryInstance
SearchType
SearchSystem
InvokeSystem
InvokeType
Capabilities
DeleteInstance
DeleteType
DeleteSystem
InvokeInstance
Trait Implementations§
Source§impl Debug for ApiCommands
impl Debug for ApiCommands
Source§impl FromArgMatches for ApiCommands
impl FromArgMatches for ApiCommands
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 ApiCommands
impl Subcommand for ApiCommands
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 ApiCommands
impl RefUnwindSafe for ApiCommands
impl Send for ApiCommands
impl Sync for ApiCommands
impl Unpin for ApiCommands
impl UnwindSafe for ApiCommands
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more