pub enum AuthorizationList {
Signed(Vec<SignedAuthorization>),
Recovered(Vec<RecoveredAuthorization>),
}
Expand description
Authorization list for EIP-7702 transaction type.
Variants§
Signed(Vec<SignedAuthorization>)
Recovered(Vec<RecoveredAuthorization>)
Implementations§
Source§impl AuthorizationList
impl AuthorizationList
Sourcepub fn recovered_iter<'a>(
&'a self,
) -> Box<dyn Iterator<Item = RecoveredAuthorization> + 'a>
pub fn recovered_iter<'a>( &'a self, ) -> Box<dyn Iterator<Item = RecoveredAuthorization> + 'a>
Returns iterator of recovered Authorizations.
Sourcepub fn into_recovered(self) -> Self
pub fn into_recovered(self) -> Self
Returns recovered authorizations list.
Trait Implementations§
Source§impl Clone for AuthorizationList
impl Clone for AuthorizationList
Source§fn clone(&self) -> AuthorizationList
fn clone(&self) -> AuthorizationList
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 AuthorizationList
impl Debug for AuthorizationList
Source§impl Default for AuthorizationList
impl Default for AuthorizationList
Source§impl<'de> Deserialize<'de> for AuthorizationList
impl<'de> Deserialize<'de> for AuthorizationList
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<Vec<RecoveredAuthorization>> for AuthorizationList
impl From<Vec<RecoveredAuthorization>> for AuthorizationList
Source§fn from(recovered: Vec<RecoveredAuthorization>) -> Self
fn from(recovered: Vec<RecoveredAuthorization>) -> Self
Converts to this type from the input type.
Source§impl From<Vec<SignedAuthorization>> for AuthorizationList
impl From<Vec<SignedAuthorization>> for AuthorizationList
Source§fn from(signed: Vec<SignedAuthorization>) -> Self
fn from(signed: Vec<SignedAuthorization>) -> Self
Converts to this type from the input type.
Source§impl PartialEq for AuthorizationList
impl PartialEq for AuthorizationList
Source§impl Serialize for AuthorizationList
impl Serialize for AuthorizationList
impl Eq for AuthorizationList
impl StructuralPartialEq for AuthorizationList
Auto Trait Implementations§
impl Freeze for AuthorizationList
impl RefUnwindSafe for AuthorizationList
impl Send for AuthorizationList
impl Sync for AuthorizationList
impl Unpin for AuthorizationList
impl UnwindSafe for AuthorizationList
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more