pub struct AccountInfo<'a> {
pub common_fields: CommonFields<'a>,
pub account: Cow<'a, str>,
pub ledger_lookup: Option<LookupByLedgerRequest<'a>>,
pub strict: Option<bool>,
pub queue: Option<bool>,
pub signer_lists: Option<bool>,
}
Expand description
This request retrieves information about an account, its activity, and its XRP balance. All information retrieved is relative to a particular version of the ledger.
See Account Info:
<https://xrpl.org/account_info.html>
Fields§
§common_fields: CommonFields<'a>
The common fields shared by all requests.
account: Cow<'a, str>
A unique identifier for the account, most commonly the account’s Address.
ledger_lookup: Option<LookupByLedgerRequest<'a>>
The unique identifier of a ledger.
strict: Option<bool>
If true, then the account field only accepts a public key or XRP Ledger address. Otherwise, account can be a secret or passphrase (not recommended). The default is false.
queue: Option<bool>
If true, and the FeeEscalation amendment is enabled, also returns stats about queued transactions associated with this account. Can only be used when querying for the data from the current open ledger. New in: rippled 0.33.0 Not available from servers in Reporting Mode.
signer_lists: Option<bool>
If true, and the MultiSign amendment is enabled, also returns any SignerList objects associated with this account.
Implementations§
Trait Implementations§
Source§impl<'a> Clone for AccountInfo<'a>
impl<'a> Clone for AccountInfo<'a>
Source§fn clone(&self) -> AccountInfo<'a>
fn clone(&self) -> AccountInfo<'a>
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl<'a> Debug for AccountInfo<'a>
impl<'a> Debug for AccountInfo<'a>
Source§impl<'de, 'a> Deserialize<'de> for AccountInfo<'a>
impl<'de, 'a> Deserialize<'de> for AccountInfo<'a>
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl<'a> From<AccountInfo<'a>> for XRPLRequest<'a>
impl<'a> From<AccountInfo<'a>> for XRPLRequest<'a>
Source§fn from(request: AccountInfo<'a>) -> Self
fn from(request: AccountInfo<'a>) -> Self
Source§impl<'a> Model for AccountInfo<'a>
impl<'a> Model for AccountInfo<'a>
Source§fn get_errors(&self) -> XRPLModelResult<()>
fn get_errors(&self) -> XRPLModelResult<()>
Source§fn validate(&self) -> XRPLModelResult<()>
fn validate(&self) -> XRPLModelResult<()>
get_errors
if there was one.Source§impl<'a> PartialEq for AccountInfo<'a>
impl<'a> PartialEq for AccountInfo<'a>
Source§impl<'a> Request<'a> for AccountInfo<'a>
impl<'a> Request<'a> for AccountInfo<'a>
fn get_common_fields(&self) -> &CommonFields<'a>
fn get_common_fields_mut(&mut self) -> &mut CommonFields<'a>
Source§impl<'a> Serialize for AccountInfo<'a>
impl<'a> Serialize for AccountInfo<'a>
impl<'a> Eq for AccountInfo<'a>
impl<'a> StructuralPartialEq for AccountInfo<'a>
Auto Trait Implementations§
impl<'a> Freeze for AccountInfo<'a>
impl<'a> RefUnwindSafe for AccountInfo<'a>
impl<'a> Send for AccountInfo<'a>
impl<'a> Sync for AccountInfo<'a>
impl<'a> Unpin for AccountInfo<'a>
impl<'a> UnwindSafe for AccountInfo<'a>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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
key
and return true
if they are equal.