Struct primitives::transaction::eth_transaction::Eip1559Transaction
source · pub struct Eip1559Transaction {
pub chain_id: u32,
pub nonce: U256,
pub max_priority_fee_per_gas: U256,
pub max_fee_per_gas: U256,
pub gas: U256,
pub action: Action,
pub value: U256,
pub data: Bytes,
pub access_list: AccessList,
}
Fields§
§chain_id: u32
§nonce: U256
§max_priority_fee_per_gas: U256
§max_fee_per_gas: U256
§gas: U256
§action: Action
§value: U256
§data: Bytes
§access_list: AccessList
Trait Implementations§
source§impl Clone for Eip1559Transaction
impl Clone for Eip1559Transaction
source§fn clone(&self) -> Eip1559Transaction
fn clone(&self) -> Eip1559Transaction
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 Eip1559Transaction
impl Debug for Eip1559Transaction
source§impl<'de> Deserialize<'de> for Eip1559Transaction
impl<'de> Deserialize<'de> for Eip1559Transaction
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 Encodable for Eip1559Transaction
impl Encodable for Eip1559Transaction
source§impl PartialEq for Eip1559Transaction
impl PartialEq for Eip1559Transaction
source§fn eq(&self, other: &Eip1559Transaction) -> bool
fn eq(&self, other: &Eip1559Transaction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Eip1559Transaction
impl Serialize for Eip1559Transaction
impl Eq for Eip1559Transaction
impl StructuralPartialEq for Eip1559Transaction
Auto Trait Implementations§
impl RefUnwindSafe for Eip1559Transaction
impl Send for Eip1559Transaction
impl Sync for Eip1559Transaction
impl Unpin for Eip1559Transaction
impl UnwindSafe for Eip1559Transaction
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