pub enum AccountCommands {
Info {
address: String,
url: String,
},
Tx {
address: String,
url: String,
limit: u32,
},
Objects {
address: String,
url: String,
type_filter: Option<String>,
limit: u16,
},
Channels {
address: String,
url: String,
destination_account: Option<String>,
limit: u16,
},
Currencies {
address: String,
url: String,
},
Lines {
address: String,
url: String,
peer: Option<String>,
limit: u16,
},
Nfts {
address: String,
url: String,
},
SetFlag {
seed: String,
flag: String,
url: String,
},
ClearFlag {
seed: String,
flag: String,
url: String,
},
}
Variants§
Info
Get account info
Tx
Get account transactions
Fields
Objects
Get account objects (trust lines, offers, etc.)
Fields
Channels
Get account channels
Fields
Currencies
Get account currencies
Lines
Get account trust lines
Fields
Nfts
Get account NFTs (XLS-20)
SetFlag
Set an account flag
Fields
ClearFlag
Clear an account flag
Trait Implementations§
Source§impl Clone for AccountCommands
impl Clone for AccountCommands
Source§fn clone(&self) -> AccountCommands
fn clone(&self) -> AccountCommands
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AccountCommands
impl Debug for AccountCommands
Source§impl FromArgMatches for AccountCommands
impl FromArgMatches for AccountCommands
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 AccountCommands
impl Subcommand for AccountCommands
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 AccountCommands
impl RefUnwindSafe for AccountCommands
impl Send for AccountCommands
impl Sync for AccountCommands
impl Unpin for AccountCommands
impl UnwindSafe for AccountCommands
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