Struct ethereum::EIP2930Transaction
source · pub struct EIP2930Transaction {
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: AccessList,
pub odd_y_parity: bool,
pub r: H256,
pub s: H256,
}
Fields§
§chain_id: u64
§nonce: U256
§gas_price: U256
§gas_limit: U256
§action: TransactionAction
§value: U256
§input: Vec<u8>
§access_list: AccessList
§odd_y_parity: bool
§r: H256
§s: H256
Implementations§
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 Decodable for EIP2930Transaction
impl Decodable for EIP2930Transaction
source§impl Encodable for EIP2930Transaction
impl Encodable for EIP2930Transaction
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 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 ==
.impl Eq for EIP2930Transaction
impl StructuralEq 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