Enum btc_tools::cli::Subcommands
source · pub enum Subcommands {
Show 14 variants
WifToEc(WifToEc),
EcToWif(EcToWif),
WifToPublic(WifToPublic),
Base58Encode(HexEncodedStringArg),
Base58EncodeCheck(HexEncodedStringArg),
Base58Decode(Base58StringArg),
Base58DecodeCheck(Base58StringArg),
PublicToAddress(PublicToAddress),
WifToAddress(WifToAddressArgs),
EcToAddress(EcToAddressArgs),
GenerateAddress(GenerateAddressArgs),
ValidateAddress(ValidateAddressArgs),
BrainWallet(BrainWalletArgs),
Hash160(Hash160Args),
}Variants§
WifToEc(WifToEc)
EcToWif(EcToWif)
WifToPublic(WifToPublic)
Base58Encode(HexEncodedStringArg)
Base58EncodeCheck(HexEncodedStringArg)
Base58Decode(Base58StringArg)
Base58DecodeCheck(Base58StringArg)
PublicToAddress(PublicToAddress)
WifToAddress(WifToAddressArgs)
EcToAddress(EcToAddressArgs)
GenerateAddress(GenerateAddressArgs)
ValidateAddress(ValidateAddressArgs)
BrainWallet(BrainWalletArgs)
Hash160(Hash160Args)
Trait Implementations§
source§impl Debug for Subcommands
impl Debug for Subcommands
source§impl FromArgMatches for Subcommands
impl FromArgMatches for Subcommands
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 Subcommands
impl Subcommand for Subcommands
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
source§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 RefUnwindSafe for Subcommands
impl Send for Subcommands
impl Sync for Subcommands
impl Unpin for Subcommands
impl UnwindSafe for Subcommands
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
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>where
F: FnOnce(&Self) -> bool,
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>where F: FnOnce(&Self) -> bool,
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