Struct ethers_etherscan::account::NormalTransaction
source · pub struct NormalTransaction {Show 20 fields
pub is_error: String,
pub block_number: BlockNumber,
pub time_stamp: String,
pub hash: GenesisOption<H256>,
pub nonce: Option<U256>,
pub block_hash: Option<U256>,
pub transaction_index: Option<u64>,
pub from: GenesisOption<Address>,
pub to: Option<Address>,
pub value: U256,
pub gas: U256,
pub gas_price: Option<U256>,
pub tx_receipt_status: String,
pub input: Bytes,
pub contract_address: Option<Address>,
pub gas_used: U256,
pub cumulative_gas_used: U256,
pub confirmations: u64,
pub method_id: Option<Bytes>,
pub function_name: Option<String>,
}
Expand description
The raw response from the transaction list API endpoint
Fields§
§is_error: String
§block_number: BlockNumber
§time_stamp: String
§hash: GenesisOption<H256>
§nonce: Option<U256>
§block_hash: Option<U256>
§transaction_index: Option<u64>
§from: GenesisOption<Address>
§to: Option<Address>
§value: U256
§gas: U256
§gas_price: Option<U256>
§tx_receipt_status: String
§input: Bytes
§contract_address: Option<Address>
§gas_used: U256
§cumulative_gas_used: U256
§confirmations: u64
§method_id: Option<Bytes>
§function_name: Option<String>
Trait Implementations§
source§impl Clone for NormalTransaction
impl Clone for NormalTransaction
source§fn clone(&self) -> NormalTransaction
fn clone(&self) -> NormalTransaction
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 NormalTransaction
impl Debug for NormalTransaction
source§impl<'de> Deserialize<'de> for NormalTransaction
impl<'de> Deserialize<'de> for NormalTransaction
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 NormalTransaction
impl Send for NormalTransaction
impl Sync for NormalTransaction
impl Unpin for NormalTransaction
impl UnwindSafe for NormalTransaction
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