Struct eest_types::SignedAuthorization
source · pub struct SignedAuthorization { /* private fields */ }
Expand description
A signed EIP-7702 authorization.
Implementations§
source§impl SignedAuthorization
impl SignedAuthorization
sourcepub const fn strip_signature(self) -> Authorization
pub const fn strip_signature(self) -> Authorization
Returns the inner Authorization
.
sourcepub const fn inner(&self) -> &Authorization
pub const fn inner(&self) -> &Authorization
Returns the inner Authorization
.
Trait Implementations§
source§impl Clone for SignedAuthorization
impl Clone for SignedAuthorization
source§fn clone(&self) -> SignedAuthorization
fn clone(&self) -> SignedAuthorization
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 SignedAuthorization
impl Debug for SignedAuthorization
source§impl<'de> Deserialize<'de> for SignedAuthorization
impl<'de> Deserialize<'de> for SignedAuthorization
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<TestAuthorization> for SignedAuthorization
impl From<TestAuthorization> for SignedAuthorization
source§fn from(auth: TestAuthorization) -> Self
fn from(auth: TestAuthorization) -> Self
Converts to this type from the input type.
source§impl PartialEq for SignedAuthorization
impl PartialEq for SignedAuthorization
source§fn eq(&self, other: &SignedAuthorization) -> bool
fn eq(&self, other: &SignedAuthorization) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SignedAuthorization
impl Serialize for SignedAuthorization
impl Eq for SignedAuthorization
impl StructuralPartialEq for SignedAuthorization
Auto Trait Implementations§
impl Freeze for SignedAuthorization
impl RefUnwindSafe for SignedAuthorization
impl Send for SignedAuthorization
impl Sync for SignedAuthorization
impl Unpin for SignedAuthorization
impl UnwindSafe for SignedAuthorization
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.