Struct alloy_eips::eip7002::WithdrawalRequest
source · pub struct WithdrawalRequest {
pub source_address: Address,
pub validator_pubkey: FixedBytes<48>,
pub amount: u64,
}
Expand description
Represents an execution layer triggerable withdrawal request.
See EIP-7002.
Fields§
§source_address: Address
Address of the source of the exit.
validator_pubkey: FixedBytes<48>
Validator public key.
amount: u64
Amount of withdrawn ether in gwei.
Trait Implementations§
source§impl Clone for WithdrawalRequest
impl Clone for WithdrawalRequest
source§fn clone(&self) -> WithdrawalRequest
fn clone(&self) -> WithdrawalRequest
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 WithdrawalRequest
impl Debug for WithdrawalRequest
source§impl Default for WithdrawalRequest
impl Default for WithdrawalRequest
source§fn default() -> WithdrawalRequest
fn default() -> WithdrawalRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for WithdrawalRequest
impl<'de> Deserialize<'de> for WithdrawalRequest
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 Hash for WithdrawalRequest
impl Hash for WithdrawalRequest
source§impl PartialEq for WithdrawalRequest
impl PartialEq for WithdrawalRequest
source§fn eq(&self, other: &WithdrawalRequest) -> bool
fn eq(&self, other: &WithdrawalRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for WithdrawalRequest
impl Serialize for WithdrawalRequest
impl Copy for WithdrawalRequest
impl Eq for WithdrawalRequest
impl StructuralPartialEq for WithdrawalRequest
Auto Trait Implementations§
impl Freeze for WithdrawalRequest
impl RefUnwindSafe for WithdrawalRequest
impl Send for WithdrawalRequest
impl Sync for WithdrawalRequest
impl Unpin for WithdrawalRequest
impl UnwindSafe for WithdrawalRequest
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: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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.