pub struct EtherscanTransaction {Show 15 fields
pub block_number: String,
pub timestamp: String,
pub hash: String,
pub from: String,
pub to: String,
pub value: String,
pub gas: String,
pub gas_price: String,
pub is_error: String,
pub txreceipt_status: String,
pub input: String,
pub contract_address: String,
pub cumulative_gas_used: String,
pub gas_used: String,
pub confirmations: String,
}Expand description
Transaction data from Etherscan
Fields§
§block_number: String§timestamp: String§hash: String§from: String§to: String§value: String§gas: String§gas_price: String§is_error: String§txreceipt_status: String§input: String§contract_address: String§cumulative_gas_used: String§gas_used: String§confirmations: StringTrait Implementations§
Source§impl Clone for EtherscanTransaction
impl Clone for EtherscanTransaction
Source§fn clone(&self) -> EtherscanTransaction
fn clone(&self) -> EtherscanTransaction
Returns a duplicate 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 EtherscanTransaction
impl Debug for EtherscanTransaction
Source§impl<'de> Deserialize<'de> for EtherscanTransaction
impl<'de> Deserialize<'de> for EtherscanTransaction
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 EtherscanTransaction
impl RefUnwindSafe for EtherscanTransaction
impl Send for EtherscanTransaction
impl Sync for EtherscanTransaction
impl Unpin for EtherscanTransaction
impl UnwindSafe for EtherscanTransaction
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