Struct ethers_providers::erc::ERCNFT
source · pub struct ERCNFT {
pub type_: ERCNFTType,
pub contract: Address,
pub id: [u8; 32],
}
Expand description
An ERC 721 or 1155 token
Fields§
§type_: ERCNFTType
Type of the NFT
contract: Address
Address of the NFT contract
id: [u8; 32]
NFT ID in that contract
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for ERCNFT
impl Send for ERCNFT
impl Sync for ERCNFT
impl Unpin for ERCNFT
impl UnwindSafe for ERCNFT
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