pub struct GetTokenSimilar<'a> { /* private fields */ }Expand description
Builder for Client::get_token_similar
Implementations§
Source§impl<'a> GetTokenSimilar<'a>
impl<'a> GetTokenSimilar<'a>
pub fn new(client: &'a Client) -> Self
pub fn chain<V>(self, value: V) -> Selfwhere
V: TryInto<ChainSymbol>,
pub fn token_address<V>(self, value: V) -> Self
pub fn limit<V>(self, value: V) -> Self
pub fn type_<V>(self, value: V) -> Selfwhere
V: TryInto<SimilarType>,
Trait Implementations§
Source§impl<'a> Clone for GetTokenSimilar<'a>
impl<'a> Clone for GetTokenSimilar<'a>
Source§fn clone(&self) -> GetTokenSimilar<'a>
fn clone(&self) -> GetTokenSimilar<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GetTokenSimilar<'a>
impl<'a> !RefUnwindSafe for GetTokenSimilar<'a>
impl<'a> Send for GetTokenSimilar<'a>
impl<'a> Sync for GetTokenSimilar<'a>
impl<'a> Unpin for GetTokenSimilar<'a>
impl<'a> UnsafeUnpin for GetTokenSimilar<'a>
impl<'a> !UnwindSafe for GetTokenSimilar<'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