pub struct TokenLookupKey(pub String);Expand description
Normalized token lookup key (CAIP-19 style: eip155:{chain_id}/erc20:{address}).
Tuple Fields§
§0: StringImplementations§
Trait Implementations§
Source§impl Clone for TokenLookupKey
impl Clone for TokenLookupKey
Source§fn clone(&self) -> TokenLookupKey
fn clone(&self) -> TokenLookupKey
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 moreSource§impl Debug for TokenLookupKey
impl Debug for TokenLookupKey
Source§impl Hash for TokenLookupKey
impl Hash for TokenLookupKey
Source§impl PartialEq for TokenLookupKey
impl PartialEq for TokenLookupKey
Source§fn eq(&self, other: &TokenLookupKey) -> bool
fn eq(&self, other: &TokenLookupKey) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for TokenLookupKey
impl StructuralPartialEq for TokenLookupKey
Auto Trait Implementations§
impl Freeze for TokenLookupKey
impl RefUnwindSafe for TokenLookupKey
impl Send for TokenLookupKey
impl Sync for TokenLookupKey
impl Unpin for TokenLookupKey
impl UnsafeUnpin for TokenLookupKey
impl UnwindSafe for TokenLookupKey
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.