pub struct BalancesOptions {
pub quote_currency: Option<String>,
pub nft: Option<bool>,
pub no_spam: Option<bool>,
pub page_number: Option<u32>,
pub page_size: Option<u32>,
}Expand description
Options for customizing balance queries.
Fields§
§quote_currency: Option<String>Quote currency for pricing (e.g., “USD”, “ETH”).
nft: Option<bool>Whether to include NFT balances.
no_spam: Option<bool>Whether to include spam tokens.
page_number: Option<u32>Page number for pagination (0-indexed).
page_size: Option<u32>Number of items per page.
Implementations§
Source§impl BalancesOptions
impl BalancesOptions
Sourcepub fn quote_currency<S: Into<String>>(self, currency: S) -> Self
pub fn quote_currency<S: Into<String>>(self, currency: S) -> Self
Set the quote currency.
Sourcepub fn page_number(self, page: u32) -> Self
pub fn page_number(self, page: u32) -> Self
Set page number for pagination.
Trait Implementations§
Source§impl Clone for BalancesOptions
impl Clone for BalancesOptions
Source§fn clone(&self) -> BalancesOptions
fn clone(&self) -> BalancesOptions
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 BalancesOptions
impl Debug for BalancesOptions
Source§impl Default for BalancesOptions
impl Default for BalancesOptions
Source§fn default() -> BalancesOptions
fn default() -> BalancesOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BalancesOptions
impl RefUnwindSafe for BalancesOptions
impl Send for BalancesOptions
impl Sync for BalancesOptions
impl Unpin for BalancesOptions
impl UnwindSafe for BalancesOptions
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