pub struct Transaction {Show 19 fields
pub access_list: Option<Vec<AccessList>>,
pub block_hash: String,
pub block_number: String,
pub chain_id: Option<String>,
pub from: String,
pub gas: String,
pub gas_price: String,
pub hash: String,
pub input: String,
pub max_fee_per_gas: Option<String>,
pub max_priority_fee_per_gas: Option<String>,
pub nonce: String,
pub r: String,
pub s: String,
pub to: String,
pub transaction_index: String,
pub transaction_type: String,
pub v: String,
pub value: String,
}
Fields§
§access_list: Option<Vec<AccessList>>
§block_hash: String
§block_number: String
§chain_id: Option<String>
§from: String
§gas: String
§gas_price: String
§hash: String
§input: String
§max_fee_per_gas: Option<String>
§max_priority_fee_per_gas: Option<String>
§nonce: String
§r: String
§s: String
§to: String
§transaction_index: String
§transaction_type: String
§v: String
§value: String
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
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