Struct ethers_etherscan::account::ERC20TokenTransferEvent
source · pub struct ERC20TokenTransferEvent {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 value: U256,
pub token_name: String,
pub token_symbol: String,
pub token_decimal: 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 ERC20 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>
§value: U256
§token_name: String
§token_symbol: String
§token_decimal: 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 ERC20TokenTransferEvent
impl Clone for ERC20TokenTransferEvent
source§fn clone(&self) -> ERC20TokenTransferEvent
fn clone(&self) -> ERC20TokenTransferEvent
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 ERC20TokenTransferEvent
impl Debug for ERC20TokenTransferEvent
source§impl<'de> Deserialize<'de> for ERC20TokenTransferEvent
impl<'de> Deserialize<'de> for ERC20TokenTransferEvent
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 ERC20TokenTransferEvent
impl Send for ERC20TokenTransferEvent
impl Sync for ERC20TokenTransferEvent
impl Unpin for ERC20TokenTransferEvent
impl UnwindSafe for ERC20TokenTransferEvent
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