Enum eest_types::TransactionType
source · #[repr(u8)]pub enum TransactionType {
Legacy = 0,
Eip2930 = 1,
Eip1559 = 2,
Eip4844 = 3,
Eip7702 = 4,
Custom = 5,
}
Expand description
Transaction types of all Ethereum transaction
Variants§
Legacy = 0
Legacy transaction type
Eip2930 = 1
EIP-2930 Access List transaction type
Eip1559 = 2
EIP-1559 Fee market change transaction type
Eip4844 = 3
EIP-4844 Blob transaction type
Eip7702 = 4
EIP-7702 Set EOA account code transaction type
Custom = 5
Custom type means that the transaction trait was extended and has custom types
Trait Implementations§
source§impl Clone for TransactionType
impl Clone for TransactionType
source§fn clone(&self) -> TransactionType
fn clone(&self) -> TransactionType
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 TransactionType
impl Debug for TransactionType
source§impl<'de> Deserialize<'de> for TransactionType
impl<'de> Deserialize<'de> for TransactionType
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 From<TransactionType> for u8
impl From<TransactionType> for u8
source§fn from(tx_type: TransactionType) -> u8
fn from(tx_type: TransactionType) -> u8
Converts to this type from the input type.
source§impl From<u8> for TransactionType
impl From<u8> for TransactionType
source§impl Hash for TransactionType
impl Hash for TransactionType
source§impl PartialEq<TransactionType> for u8
impl PartialEq<TransactionType> for u8
source§fn eq(&self, other: &TransactionType) -> bool
fn eq(&self, other: &TransactionType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<u8> for TransactionType
impl PartialEq<u8> for TransactionType
source§impl PartialEq for TransactionType
impl PartialEq for TransactionType
source§fn eq(&self, other: &TransactionType) -> bool
fn eq(&self, other: &TransactionType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TransactionType
impl Serialize for TransactionType
impl Copy for TransactionType
impl Eq for TransactionType
impl StructuralPartialEq for TransactionType
Auto Trait Implementations§
impl Freeze for TransactionType
impl RefUnwindSafe for TransactionType
impl Send for TransactionType
impl Sync for TransactionType
impl Unpin for TransactionType
impl UnwindSafe for TransactionType
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.