pub struct SetCodeAuthorization {
pub chain_id: SetCodeAuthorizationChainId,
pub address: Address,
pub nonce: Nonce,
pub y_parity: SignatureYParity,
pub r: [u8; 32],
pub s: [u8; 32],
}Expand description
Borrowed EIP-7702 authorization tuple.
Fields§
§chain_id: SetCodeAuthorizationChainIdChain ID for this authorization. Zero means chain-agnostic.
address: AddressDelegation target address.
nonce: NonceAuthorizing account nonce.
y_parity: SignatureYParityAuthorization signature y parity.
r: [u8; 32]Raw canonical U256 authorization signature r value.
s: [u8; 32]Raw canonical U256 authorization signature s value.
Trait Implementations§
Source§impl Clone for SetCodeAuthorization
impl Clone for SetCodeAuthorization
Source§fn clone(&self) -> SetCodeAuthorization
fn clone(&self) -> SetCodeAuthorization
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 SetCodeAuthorization
Source§impl Debug for SetCodeAuthorization
impl Debug for SetCodeAuthorization
impl Eq for SetCodeAuthorization
Source§impl PartialEq for SetCodeAuthorization
impl PartialEq for SetCodeAuthorization
Source§fn eq(&self, other: &SetCodeAuthorization) -> bool
fn eq(&self, other: &SetCodeAuthorization) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SetCodeAuthorization
Auto Trait Implementations§
impl Freeze for SetCodeAuthorization
impl RefUnwindSafe for SetCodeAuthorization
impl Send for SetCodeAuthorization
impl Sync for SetCodeAuthorization
impl Unpin for SetCodeAuthorization
impl UnsafeUnpin for SetCodeAuthorization
impl UnwindSafe for SetCodeAuthorization
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