pub struct AccountObjects<'a> {
pub common_fields: CommonFields<'a>,
pub account: Cow<'a, str>,
pub ledger_lookup: Option<LookupByLedgerRequest<'a>>,
pub type: Option<AccountObjectType>,
pub deletion_blockers_only: Option<bool>,
pub limit: Option<u16>,
pub marker: Option<Marker<'a>>,
}
Expand description
This request returns the raw ledger format for all objects owned by an account. For a higher-level view of an account’s trust lines and balances, see AccountLines Request instead.
See Account Objects:
<https://xrpl.org/account_objects.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.
type: Option<AccountObjectType>
If included, filter results to include only this type of ledger object. The valid types are: check, deposit_preauth, escrow, offer, payment_channel, signer_list, ticket, and state (trust line).
deletion_blockers_only: Option<bool>
If true, the response only includes objects that would block this account from being deleted. The default is false.
limit: Option<u16>
The maximum number of objects to include in the results. Must be within the inclusive range 10 to 400 on non-admin connections. The default is 200.
marker: Option<Marker<'a>>
Value from a previous paginated response. Resume retrieving data where that response left off.
Implementations§
Source§impl<'a> AccountObjects<'a>
impl<'a> AccountObjects<'a>
Trait Implementations§
Source§impl<'a> Clone for AccountObjects<'a>
impl<'a> Clone for AccountObjects<'a>
Source§fn clone(&self) -> AccountObjects<'a>
fn clone(&self) -> AccountObjects<'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 AccountObjects<'a>
impl<'a> Debug for AccountObjects<'a>
Source§impl<'de, 'a> Deserialize<'de> for AccountObjects<'a>
impl<'de, 'a> Deserialize<'de> for AccountObjects<'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<AccountObjects<'a>> for XRPLRequest<'a>
impl<'a> From<AccountObjects<'a>> for XRPLRequest<'a>
Source§fn from(request: AccountObjects<'a>) -> Self
fn from(request: AccountObjects<'a>) -> Self
Source§impl<'a> Model for AccountObjects<'a>
impl<'a> Model for AccountObjects<'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 AccountObjects<'a>
impl<'a> PartialEq for AccountObjects<'a>
Source§impl<'a> Request<'a> for AccountObjects<'a>
impl<'a> Request<'a> for AccountObjects<'a>
fn get_common_fields(&self) -> &CommonFields<'a>
fn get_common_fields_mut(&mut self) -> &mut CommonFields<'a>
Source§impl<'a> Serialize for AccountObjects<'a>
impl<'a> Serialize for AccountObjects<'a>
impl<'a> Eq for AccountObjects<'a>
impl<'a> StructuralPartialEq for AccountObjects<'a>
Auto Trait Implementations§
impl<'a> Freeze for AccountObjects<'a>
impl<'a> RefUnwindSafe for AccountObjects<'a>
impl<'a> Send for AccountObjects<'a>
impl<'a> Sync for AccountObjects<'a>
impl<'a> Unpin for AccountObjects<'a>
impl<'a> UnwindSafe for AccountObjects<'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.