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. Etherscan names its fields in
camelCase (blockNumber, timeStamp, …); a field it leaves out (some
endpoints omit a few) is empty.
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§impl Debug for EtherscanTransaction
impl Debug for EtherscanTransaction
Source§impl Default for EtherscanTransaction
impl Default for EtherscanTransaction
Source§impl<'de> Deserialize<'de> for EtherscanTransactionwhere
EtherscanTransaction: Default,
impl<'de> Deserialize<'de> for EtherscanTransactionwhere
EtherscanTransaction: Default,
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 Forget for EtherscanTransaction
impl Freeze for EtherscanTransaction
impl RefUnwindSafe for EtherscanTransaction
impl Send for EtherscanTransaction
impl Sync for EtherscanTransaction
impl Unpin for EtherscanTransaction
impl UnsafeUnpin 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