Struct ethereum::EIP2930TransactionMessage
source · pub struct EIP2930TransactionMessage {
pub chain_id: u64,
pub nonce: U256,
pub gas_price: U256,
pub gas_limit: U256,
pub action: TransactionAction,
pub value: U256,
pub input: Vec<u8>,
pub access_list: Vec<AccessListItem>,
}
Fields§
§chain_id: u64
§nonce: U256
§gas_price: U256
§gas_limit: U256
§action: TransactionAction
§value: U256
§input: Vec<u8>
§access_list: Vec<AccessListItem>
Implementations§
Trait Implementations§
source§impl Clone for EIP2930TransactionMessage
impl Clone for EIP2930TransactionMessage
source§fn clone(&self) -> EIP2930TransactionMessage
fn clone(&self) -> EIP2930TransactionMessage
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 EIP2930TransactionMessage
impl Debug for EIP2930TransactionMessage
source§impl From<EIP2930Transaction> for EIP2930TransactionMessage
impl From<EIP2930Transaction> for EIP2930TransactionMessage
source§fn from(t: EIP2930Transaction) -> Self
fn from(t: EIP2930Transaction) -> Self
Converts to this type from the input type.
source§impl PartialEq for EIP2930TransactionMessage
impl PartialEq for EIP2930TransactionMessage
source§fn eq(&self, other: &EIP2930TransactionMessage) -> bool
fn eq(&self, other: &EIP2930TransactionMessage) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for EIP2930TransactionMessage
impl StructuralEq for EIP2930TransactionMessage
impl StructuralPartialEq for EIP2930TransactionMessage
Auto Trait Implementations§
impl RefUnwindSafe for EIP2930TransactionMessage
impl Send for EIP2930TransactionMessage
impl Sync for EIP2930TransactionMessage
impl Unpin for EIP2930TransactionMessage
impl UnwindSafe for EIP2930TransactionMessage
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