pub enum ContractCliAction {
Abi,
Build(BuildArgs),
BuildDbg(BuildDbgArgs),
Twiggy(TwiggyArgs),
Clean,
Update,
GenerateSnippets(GenerateSnippetsArgs),
GenerateProxies(GenerateProxyArgs),
}Variants§
Abi
Build(BuildArgs)
BuildDbg(BuildDbgArgs)
Twiggy(TwiggyArgs)
Clean
Update
GenerateSnippets(GenerateSnippetsArgs)
GenerateProxies(GenerateProxyArgs)
Trait Implementations§
Source§impl CliArgsToRaw for ContractCliAction
impl CliArgsToRaw for ContractCliAction
Source§impl Clone for ContractCliAction
impl Clone for ContractCliAction
Source§fn clone(&self) -> ContractCliAction
fn clone(&self) -> ContractCliAction
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ContractCliAction
impl Debug for ContractCliAction
Source§impl Default for ContractCliAction
impl Default for ContractCliAction
Source§fn default() -> ContractCliAction
fn default() -> ContractCliAction
Returns the “default value” for a type. Read more
Source§impl FromArgMatches for ContractCliAction
impl FromArgMatches for ContractCliAction
Source§fn from_arg_matches(
__clap_arg_matches: &ArgMatches,
) -> Result<ContractCliAction, Error>
fn from_arg_matches( __clap_arg_matches: &ArgMatches, ) -> Result<ContractCliAction, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<ContractCliAction, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<ContractCliAction, 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 PartialEq for ContractCliAction
impl PartialEq for ContractCliAction
Source§impl Subcommand for ContractCliAction
impl Subcommand for ContractCliAction
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 subcommandimpl Eq for ContractCliAction
impl StructuralPartialEq for ContractCliAction
Auto Trait Implementations§
impl Freeze for ContractCliAction
impl RefUnwindSafe for ContractCliAction
impl Send for ContractCliAction
impl Sync for ContractCliAction
impl Unpin for ContractCliAction
impl UnwindSafe for ContractCliAction
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> InterpretableFrom<&T> for Twhere
T: Clone,
impl<T> InterpretableFrom<&T> for Twhere
T: Clone,
fn interpret_from(from: &T, _context: &InterpreterContext) -> T
Source§impl<T> InterpretableFrom<T> for T
impl<T> InterpretableFrom<T> for T
fn interpret_from(from: T, _context: &InterpreterContext) -> T
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