pub struct GetTokens<'a> { /* private fields */ }Expand description
Builder for Client::get_tokens
Implementations§
Source§impl<'a> GetTokens<'a>
impl<'a> GetTokens<'a>
pub fn new(client: &'a Client) -> Self
pub fn chain<V>(self, value: V) -> Selfwhere
V: TryInto<ChainSymbol>,
pub fn filter_by<V>(self, value: V) -> Self
pub fn sort_by<V>(self, value: V) -> Selfwhere
V: TryInto<GetTokensSortBy>,
pub fn sort_direction<V>(self, value: V) -> Selfwhere
V: TryInto<GetTokensSortDirection>,
pub fn token_addresses<V>(self, value: V) -> Self
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for GetTokens<'a>
impl<'a> !RefUnwindSafe for GetTokens<'a>
impl<'a> Send for GetTokens<'a>
impl<'a> Sync for GetTokens<'a>
impl<'a> Unpin for GetTokens<'a>
impl<'a> !UnwindSafe for GetTokens<'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