Struct eest_types::Transaction
source · pub struct Transaction {Show 19 fields
pub tx_type: U64,
pub chain_id: Option<U256>,
pub nonce: U256,
pub gas_price: Option<U256>,
pub max_priority_fee_per_gas: Option<U256>,
pub max_fee_per_gas: Option<U256>,
pub gas_limit: U256,
pub to: Option<Address>,
pub value: U256,
pub data: Bytes,
pub v: U64,
pub r: U256,
pub s: U256,
pub sender: Option<Address>,
pub secret_key: Option<H256>,
pub access_list: Option<AccessList>,
pub max_fee_per_blob_gas: Option<U256>,
pub blob_versioned_hashes: Option<Vec<H256>>,
pub authorization_list: Option<Vec<TestAuthorization>>,
}
Fields§
§tx_type: U64
§chain_id: Option<U256>
§nonce: U256
§gas_price: Option<U256>
§max_priority_fee_per_gas: Option<U256>
§max_fee_per_gas: Option<U256>
§gas_limit: U256
§to: Option<Address>
§value: U256
§data: Bytes
§v: U64
§r: U256
§s: U256
§sender: Option<Address>
§secret_key: Option<H256>
§access_list: Option<AccessList>
§max_fee_per_blob_gas: Option<U256>
§blob_versioned_hashes: Option<Vec<H256>>
Trait Implementations§
source§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§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 ==
.impl Eq 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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.