pub struct GetBalanceUpdates<'a> { /* private fields */ }Expand description
Builder for [Client::get_balance_updates]
[`Client::get_balance_updates`]: super::Client::get_balance_updatesImplementations§
Source§impl<'a> GetBalanceUpdates<'a>
impl<'a> GetBalanceUpdates<'a>
pub fn new(client: &'a Client) -> Self
pub fn chain<V>(self, value: V) -> Selfwhere
V: TryInto<ChainSymbol>,
pub fn wallet_address<V>(self, value: V) -> Self
pub fn change_type<V>(self, value: V) -> Selfwhere
V: TryInto<BalanceChangeType>,
pub fn cursor<V>(self, value: V) -> Self
pub fn limit<V>(self, value: V) -> Selfwhere
V: TryInto<NonZeroU32>,
pub fn time_from<V>(self, value: V) -> Self
pub fn time_to<V>(self, value: V) -> Self
pub fn token_address<V>(self, value: V) -> Self
pub fn type_<V>(self, value: V) -> Selfwhere
V: TryInto<BalanceTokenType>,
Sourcepub async fn send(self) -> Result<ResponseValue<BalanceUpdatePage>, Error<()>>
pub async fn send(self) -> Result<ResponseValue<BalanceUpdatePage>, Error<()>>
Sends a GET request to /v1/wallet/{chain}/{walletAddress}/balance-updates
Trait Implementations§
Source§impl<'a> Clone for GetBalanceUpdates<'a>
impl<'a> Clone for GetBalanceUpdates<'a>
Source§fn clone(&self) -> GetBalanceUpdates<'a>
fn clone(&self) -> GetBalanceUpdates<'a>
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 moreAuto Trait Implementations§
impl<'a> Freeze for GetBalanceUpdates<'a>
impl<'a> !RefUnwindSafe for GetBalanceUpdates<'a>
impl<'a> Send for GetBalanceUpdates<'a>
impl<'a> Sync for GetBalanceUpdates<'a>
impl<'a> Unpin for GetBalanceUpdates<'a>
impl<'a> !UnwindSafe for GetBalanceUpdates<'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
Mutably borrows from an owned value. Read more