PaymentCommands

Enum PaymentCommands 

Source
pub enum PaymentCommands {
Show 18 variants Run { run_options: RunOptions, }, Generate { generate_options: GenerateOptions, }, GenerateKey { generate_key_options: GenerateKeyOptions, }, CheckRpc { check_web3_rpc_options: CheckWeb3RpcOptions, }, GetDevEth { get_dev_eth_options: GetDevEthOptions, }, MintTestTokens { mint_test_tokens_options: MintTestTokensOptions, }, Attestation { attest: AttestationCommands, }, Deposit { deposit: DepositCommands, }, Transfer { single_transfer_options: TransferOptions, }, Distribute { distribute_options: DistributeOptions, }, Balance { account_balance_options: BalanceOptions, }, ImportPayments { import_options: ImportOptions, }, ScanBlockchain { scan_blockchain_options: ScanBlockchainOptions, }, PaymentStats { payment_stats_options: PaymentStatsOptions, }, ExportHistory { export_history_stats_options: ExportHistoryStatsOptions, }, DecryptKeyStore { decrypt_options: DecryptKeyStoreOptions, }, Cleanup { cleanup_options: CleanupOptions, }, ShowConfig,
}

Variants§

§

Run

Fields

§run_options: RunOptions
§

Generate

Fields

§generate_options: GenerateOptions
§

GenerateKey

Fields

§generate_key_options: GenerateKeyOptions
§

CheckRpc

Fields

§check_web3_rpc_options: CheckWeb3RpcOptions
§

GetDevEth

Fields

§get_dev_eth_options: GetDevEthOptions
§

MintTestTokens

Fields

§mint_test_tokens_options: MintTestTokensOptions
§

Attestation

Fields

§

Deposit

Fields

§

Transfer

Fields

§single_transfer_options: TransferOptions
§

Distribute

Fields

§distribute_options: DistributeOptions
§

Balance

Fields

§account_balance_options: BalanceOptions
§

ImportPayments

Fields

§import_options: ImportOptions
§

ScanBlockchain

Fields

§scan_blockchain_options: ScanBlockchainOptions
§

PaymentStats

Fields

§payment_stats_options: PaymentStatsOptions
§

ExportHistory

Fields

§export_history_stats_options: ExportHistoryStatsOptions
§

DecryptKeyStore

Fields

§decrypt_options: DecryptKeyStoreOptions
§

Cleanup

Fields

§cleanup_options: CleanupOptions
§

ShowConfig

Trait Implementations§

Source§

impl StructOpt for PaymentCommands

Source§

fn clap<'a, 'b>() -> App<'a, 'b>

Returns clap::App corresponding to the struct.
Source§

fn from_clap(matches: &ArgMatches<'_>) -> Self

Builds the struct from clap::ArgMatches. It’s guaranteed to succeed if matches originates from an App generated by StructOpt::clap called on the same type, otherwise it must panic.
Source§

fn from_args() -> Self
where Self: Sized,

Builds the struct from the command line arguments (std::env::args_os). Calls clap::Error::exit on failure, printing the error message and aborting the program.
Source§

fn from_args_safe() -> Result<Self, Error>
where Self: Sized,

Builds the struct from the command line arguments (std::env::args_os). Unlike StructOpt::from_args, returns clap::Error on failure instead of aborting the program, so calling .exit is up to you.
Source§

fn from_iter<I>(iter: I) -> Self
where Self: Sized, I: IntoIterator, <I as IntoIterator>::Item: Into<OsString> + Clone,

Gets the struct from any iterator such as a Vec of your making. Print the error message and quit the program in case of failure. Read more
Source§

fn from_iter_safe<I>(iter: I) -> Result<Self, Error>
where Self: Sized, I: IntoIterator, <I as IntoIterator>::Item: Into<OsString> + Clone,

Gets the struct from any iterator such as a Vec of your making. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

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
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> ErasedDestructor for T
where T: 'static,