pub struct UnvalidatedWithdrawal {
pub index: WithdrawalIndex,
pub validator_index: WithdrawalValidatorIndex,
pub address: Address,
pub amount: WithdrawalAmountGwei,
}Expand description
Unvalidated EIP-4895 withdrawal entry.
Fields§
§index: WithdrawalIndexGlobal withdrawal index.
validator_index: WithdrawalValidatorIndexConsensus-layer validator index.
address: AddressRecipient execution-layer address.
amount: WithdrawalAmountGweiNonzero amount in Gwei.
Trait Implementations§
Source§impl Clone for UnvalidatedWithdrawal
impl Clone for UnvalidatedWithdrawal
Source§fn clone(&self) -> UnvalidatedWithdrawal
fn clone(&self) -> UnvalidatedWithdrawal
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 UnvalidatedWithdrawal
Source§impl Debug for UnvalidatedWithdrawal
impl Debug for UnvalidatedWithdrawal
impl Eq for UnvalidatedWithdrawal
Source§impl PartialEq for UnvalidatedWithdrawal
impl PartialEq for UnvalidatedWithdrawal
Source§fn eq(&self, other: &UnvalidatedWithdrawal) -> bool
fn eq(&self, other: &UnvalidatedWithdrawal) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UnvalidatedWithdrawal
Auto Trait Implementations§
impl Freeze for UnvalidatedWithdrawal
impl RefUnwindSafe for UnvalidatedWithdrawal
impl Send for UnvalidatedWithdrawal
impl Sync for UnvalidatedWithdrawal
impl Unpin for UnvalidatedWithdrawal
impl UnsafeUnpin for UnvalidatedWithdrawal
impl UnwindSafe for UnvalidatedWithdrawal
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