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