Enum ethers_providers::erc::ERCNFTType
source · pub enum ERCNFTType {
ERC721,
ERC1155,
}
Expand description
Supported ERCs
Variants§
Implementations§
source§impl ERCNFTType
impl ERCNFTType
sourcepub const fn resolution_selector(&self) -> Selector
pub const fn resolution_selector(&self) -> Selector
Get the method selector
Trait Implementations§
source§impl FromStr for ERCNFTType
impl FromStr for ERCNFTType
source§impl PartialEq for ERCNFTType
impl PartialEq for ERCNFTType
source§fn eq(&self, other: &ERCNFTType) -> bool
fn eq(&self, other: &ERCNFTType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ERCNFTType
impl StructuralPartialEq for ERCNFTType
Auto Trait Implementations§
impl RefUnwindSafe for ERCNFTType
impl Send for ERCNFTType
impl Sync for ERCNFTType
impl Unpin for ERCNFTType
impl UnwindSafe for ERCNFTType
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<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.