pub struct ERC1155TokenTransferEvent {Show 19 fields
pub block_number: BlockNumber,
pub time_stamp: String,
pub hash: H256,
pub nonce: U256,
pub block_hash: H256,
pub from: Address,
pub contract_address: Address,
pub to: Option<Address>,
pub token_id: String,
pub token_value: String,
pub token_name: String,
pub token_symbol: String,
pub transaction_index: u64,
pub gas: U256,
pub gas_price: Option<U256>,
pub gas_used: U256,
pub cumulative_gas_used: U256,
pub input: String,
pub confirmations: u64,
}
Expand description
The raw response from the ERC1155 transfer list API endpoint
Fields§
§block_number: BlockNumber
§time_stamp: String
§hash: H256
§nonce: U256
§block_hash: H256
§from: Address
§contract_address: Address
§to: Option<Address>
§token_id: String
§token_value: String
§token_name: String
§token_symbol: String
§transaction_index: u64
§gas: U256
§gas_price: Option<U256>
§gas_used: U256
§cumulative_gas_used: U256
§input: String
deprecated
confirmations: u64
Trait Implementations§
source§impl Clone for ERC1155TokenTransferEvent
impl Clone for ERC1155TokenTransferEvent
source§fn clone(&self) -> ERC1155TokenTransferEvent
fn clone(&self) -> ERC1155TokenTransferEvent
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 moresource§impl Debug for ERC1155TokenTransferEvent
impl Debug for ERC1155TokenTransferEvent
source§impl<'de> Deserialize<'de> for ERC1155TokenTransferEvent
impl<'de> Deserialize<'de> for ERC1155TokenTransferEvent
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for ERC1155TokenTransferEvent
impl Send for ERC1155TokenTransferEvent
impl Sync for ERC1155TokenTransferEvent
impl Unpin for ERC1155TokenTransferEvent
impl UnwindSafe for ERC1155TokenTransferEvent
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