pub enum TokenQueryOption {
ByAddress(Address),
ByContract(Address),
ByAddressAndContract(Address, Address),
}
Expand description
Options for querying ERC20 or ERC721 token transfers
Variants§
Implementations§
source§impl TokenQueryOption
impl TokenQueryOption
pub fn into_params( self, list_params: TxListParams ) -> HashMap<&'static str, String>
Trait Implementations§
source§impl Clone for TokenQueryOption
impl Clone for TokenQueryOption
source§fn clone(&self) -> TokenQueryOption
fn clone(&self) -> TokenQueryOption
Returns a copy 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 RefUnwindSafe for TokenQueryOption
impl Send for TokenQueryOption
impl Sync for TokenQueryOption
impl Unpin for TokenQueryOption
impl UnwindSafe for TokenQueryOption
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