pub struct ListTokensForAccount<'a> { /* private fields */ }
Expand description
Builder for [Client::list_tokens_for_account
]
[`Client::list_tokens_for_account`]: super::Client::list_tokens_for_account
Implementations§
Source§impl<'a> ListTokensForAccount<'a>
impl<'a> ListTokensForAccount<'a>
pub fn new(client: &'a Client) -> Self
pub fn network<V>(self, value: V) -> Selfwhere
V: TryInto<ListTokensForAccountNetwork>,
pub fn address<V>(self, value: V) -> Selfwhere
V: TryInto<ListTokensForAccountAddress>,
Sourcepub async fn send(
self,
) -> Result<ResponseValue<AccountTokenAddressesResponse>, Error<Error>>
pub async fn send( self, ) -> Result<ResponseValue<AccountTokenAddressesResponse>, Error<Error>>
Sends a GET
request to /v2/data/evm/token-ownership/{network}/{address}
Trait Implementations§
Source§impl<'a> Clone for ListTokensForAccount<'a>
impl<'a> Clone for ListTokensForAccount<'a>
Source§fn clone(&self) -> ListTokensForAccount<'a>
fn clone(&self) -> ListTokensForAccount<'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 ListTokensForAccount<'a>
impl<'a> !RefUnwindSafe for ListTokensForAccount<'a>
impl<'a> Send for ListTokensForAccount<'a>
impl<'a> Sync for ListTokensForAccount<'a>
impl<'a> Unpin for ListTokensForAccount<'a>
impl<'a> !UnwindSafe for ListTokensForAccount<'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