Struct wall_echain::types::Transaction
source · pub struct Transaction {Show 19 fields
pub block_hash: Option<String>,
pub block_number: Option<String>,
pub from: Option<String>,
pub gas: Option<String>,
pub gas_price: Option<String>,
pub max_fee_per_gas: Option<String>,
pub max_priority_fee_per_gas: Option<String>,
pub hash: Option<String>,
pub input: Option<String>,
pub nonce: Option<String>,
pub to: Option<String>,
pub transaction_index: Option<String>,
pub value: Option<String>,
pub type: Option<String>,
pub access_list: Option<Vec<AccessList>>,
pub chain_id: Option<String>,
pub v: Option<String>,
pub r: Option<String>,
pub s: Option<String>,
}Fields§
§block_hash: Option<String>Block Hash
block_number: Option<String>Block Number
from: Option<String>from
gas: Option<String>gas
gas_price: Option<String>gas Price
max_fee_per_gas: Option<String>max fee per gas
max_priority_fee_per_gas: Option<String>max Priority Fee Per Gas
hash: Option<String>hash
input: Option<String>input
nonce: Option<String>nonce
to: Option<String>to
transaction_index: Option<String>transactionIndex
value: Option<String>value
type: Option<String>type
access_list: Option<Vec<AccessList>>accessList
chain_id: Option<String>chainId
v: Option<String>v
r: Option<String>r
s: Option<String>s
Trait Implementations§
source§impl Clone for Transaction
impl Clone for Transaction
source§fn clone(&self) -> Transaction
fn clone(&self) -> Transaction
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 Transaction
impl Debug for Transaction
source§impl<'de> Deserialize<'de> for Transaction
impl<'de> Deserialize<'de> for Transaction
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
source§impl PartialEq<Transaction> for Transaction
impl PartialEq<Transaction> for Transaction
source§fn eq(&self, other: &Transaction) -> bool
fn eq(&self, other: &Transaction) -> bool
This method tests for
self and other values to be equal, and is used
by ==.