#[non_exhaustive]pub enum SetCodeAuthorizationField {
ChainId,
Address,
Nonce,
YParity,
R,
S,
}Expand description
EIP-7702 authorization tuple sub-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.
ChainId
Authorization chain ID.
Address
Authorized account address.
Nonce
Authorized account nonce.
YParity
Authorization signature y parity.
R
Authorization signature r.
S
Authorization signature s.
Trait Implementations§
Source§impl Clone for SetCodeAuthorizationField
impl Clone for SetCodeAuthorizationField
Source§fn clone(&self) -> SetCodeAuthorizationField
fn clone(&self) -> SetCodeAuthorizationField
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 SetCodeAuthorizationField
Source§impl Debug for SetCodeAuthorizationField
impl Debug for SetCodeAuthorizationField
impl Eq for SetCodeAuthorizationField
Source§impl PartialEq for SetCodeAuthorizationField
impl PartialEq for SetCodeAuthorizationField
Source§fn eq(&self, other: &SetCodeAuthorizationField) -> bool
fn eq(&self, other: &SetCodeAuthorizationField) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SetCodeAuthorizationField
Auto Trait Implementations§
impl Freeze for SetCodeAuthorizationField
impl RefUnwindSafe for SetCodeAuthorizationField
impl Send for SetCodeAuthorizationField
impl Sync for SetCodeAuthorizationField
impl Unpin for SetCodeAuthorizationField
impl UnsafeUnpin for SetCodeAuthorizationField
impl UnwindSafe for SetCodeAuthorizationField
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