Struct primitives::transaction::eth_transaction::Eip7702Transaction
source · pub struct Eip7702Transaction {
pub chain_id: u32,
pub nonce: U256,
pub max_priority_fee_per_gas: U256,
pub max_fee_per_gas: U256,
pub gas: U256,
pub destination: Address,
pub value: U256,
pub data: Bytes,
pub access_list: Vec<AccessListItem>,
pub authorization_list: Vec<AuthorizationListItem>,
}
Fields§
§chain_id: u32
§nonce: U256
§max_priority_fee_per_gas: U256
§max_fee_per_gas: U256
§gas: U256
§destination: Address
§value: U256
§data: Bytes
§access_list: Vec<AccessListItem>
Trait Implementations§
source§impl Clone for Eip7702Transaction
impl Clone for Eip7702Transaction
source§fn clone(&self) -> Eip7702Transaction
fn clone(&self) -> Eip7702Transaction
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 Eip7702Transaction
impl Debug for Eip7702Transaction
source§impl Decodable for Eip7702Transaction
impl Decodable for Eip7702Transaction
source§impl Default for Eip7702Transaction
impl Default for Eip7702Transaction
source§fn default() -> Eip7702Transaction
fn default() -> Eip7702Transaction
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for Eip7702Transaction
impl<'de> Deserialize<'de> for Eip7702Transaction
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 Eip7702Transaction
impl Encodable for Eip7702Transaction
source§impl PartialEq for Eip7702Transaction
impl PartialEq for Eip7702Transaction
source§fn eq(&self, other: &Eip7702Transaction) -> bool
fn eq(&self, other: &Eip7702Transaction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Eip7702Transaction
impl Serialize for Eip7702Transaction
impl Eq for Eip7702Transaction
impl StructuralPartialEq for Eip7702Transaction
Auto Trait Implementations§
impl Freeze for Eip7702Transaction
impl RefUnwindSafe for Eip7702Transaction
impl Send for Eip7702Transaction
impl Sync for Eip7702Transaction
impl Unpin for Eip7702Transaction
impl UnwindSafe for Eip7702Transaction
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