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 Freeze for ERC20TokenTransferEvent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more