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 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 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 for Transaction
impl PartialEq for Transaction
Source§impl Serialize for Transaction
impl Serialize for Transaction
impl StructuralPartialEq for Transaction
Auto Trait Implementations§
impl Freeze for Transaction
impl RefUnwindSafe for Transaction
impl Send for Transaction
impl Sync for Transaction
impl Unpin for Transaction
impl UnwindSafe for Transaction
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