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: BlockNumbertime_stamp: Stringhash: H256nonce: U256block_hash: H256from: Addresscontract_address: Addressto: Option<Address>value: U256token_name: Stringtoken_symbol: Stringtoken_decimal: Stringtransaction_index: U64gas: U256gas_price: Option<U256>gas_used: U256cumulative_gas_used: U256input: Stringdeprecated
confirmations: U64Trait Implementations
sourceimpl Debug for ERC20TokenTransferEvent
impl Debug for ERC20TokenTransferEvent
sourceimpl<'de> Deserialize<'de> for ERC20TokenTransferEvent
impl<'de> Deserialize<'de> for ERC20TokenTransferEvent
sourcefn 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
sourceimpl Serialize for ERC20TokenTransferEvent
impl Serialize for ERC20TokenTransferEvent
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more