Struct ethers_etherscan::account::NormalTransaction
source · [−]pub struct NormalTransaction {Show 18 fields
pub is_error: String,
pub block_number: BlockNumber,
pub time_stamp: String,
pub hash: GenesisOption<H256>,
pub nonce: GenesisOption<U256>,
pub block_hash: GenesisOption<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: GenesisOption<Bytes>,
pub contract_address: GenesisOption<Address>,
pub gas_used: U256,
pub cumulative_gas_used: U256,
pub confirmations: U64,
}Expand description
The raw response from the transaction list API endpoint
Fields
is_error: Stringblock_number: BlockNumbertime_stamp: Stringhash: GenesisOption<H256>nonce: GenesisOption<U256>block_hash: GenesisOption<U256>transaction_index: Option<U64>from: GenesisOption<Address>to: Option<Address>value: U256gas: U256gas_price: Option<U256>tx_receipt_status: Stringinput: GenesisOption<Bytes>contract_address: GenesisOption<Address>gas_used: U256cumulative_gas_used: U256confirmations: U64Trait Implementations
sourceimpl Debug for NormalTransaction
impl Debug for NormalTransaction
sourceimpl<'de> Deserialize<'de> for NormalTransaction
impl<'de> Deserialize<'de> for NormalTransaction
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 NormalTransaction
impl Serialize for NormalTransaction
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
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