#[non_exhaustive]pub enum SetCodeTransactionField {
Show 14 variants
Payload,
ChainId,
Nonce,
MaxPriorityFeePerGas,
MaxFeePerGas,
GasLimit,
To,
Value,
Data,
AccessList,
AuthorizationList,
SignatureYParity,
SignatureR,
SignatureS,
}Expand description
EIP-7702 transaction field identifier.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Payload
Whole typed-transaction payload.
ChainId
chain_id.
Nonce
nonce.
MaxPriorityFeePerGas
max_priority_fee_per_gas.
MaxFeePerGas
max_fee_per_gas.
GasLimit
gas_limit.
To
destination.
Value
value.
Data
data.
AccessList
access_list.
AuthorizationList
authorization_list.
SignatureYParity
signature_y_parity.
SignatureR
signature_r.
SignatureS
signature_s.
Trait Implementations§
Source§impl Clone for SetCodeTransactionField
impl Clone for SetCodeTransactionField
Source§fn clone(&self) -> SetCodeTransactionField
fn clone(&self) -> SetCodeTransactionField
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SetCodeTransactionField
Source§impl Debug for SetCodeTransactionField
impl Debug for SetCodeTransactionField
impl Eq for SetCodeTransactionField
Source§impl PartialEq for SetCodeTransactionField
impl PartialEq for SetCodeTransactionField
Source§fn eq(&self, other: &SetCodeTransactionField) -> bool
fn eq(&self, other: &SetCodeTransactionField) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SetCodeTransactionField
Auto Trait Implementations§
impl Freeze for SetCodeTransactionField
impl RefUnwindSafe for SetCodeTransactionField
impl Send for SetCodeTransactionField
impl Sync for SetCodeTransactionField
impl Unpin for SetCodeTransactionField
impl UnsafeUnpin for SetCodeTransactionField
impl UnwindSafe for SetCodeTransactionField
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