#[non_exhaustive]pub enum WithdrawalField {
List,
Withdrawal,
Index,
ValidatorIndex,
Address,
Amount,
}Expand description
Withdrawal field identifier.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
List
Whole withdrawals list.
Withdrawal
One withdrawal entry.
Index
Withdrawal global index.
ValidatorIndex
Consensus-layer validator index.
Address
Withdrawal recipient address.
Amount
Withdrawal amount in Gwei.
Trait Implementations§
Source§impl Clone for WithdrawalField
impl Clone for WithdrawalField
Source§fn clone(&self) -> WithdrawalField
fn clone(&self) -> WithdrawalField
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 WithdrawalField
Source§impl Debug for WithdrawalField
impl Debug for WithdrawalField
impl Eq for WithdrawalField
Source§impl PartialEq for WithdrawalField
impl PartialEq for WithdrawalField
Source§fn eq(&self, other: &WithdrawalField) -> bool
fn eq(&self, other: &WithdrawalField) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for WithdrawalField
Auto Trait Implementations§
impl Freeze for WithdrawalField
impl RefUnwindSafe for WithdrawalField
impl Send for WithdrawalField
impl Sync for WithdrawalField
impl Unpin for WithdrawalField
impl UnsafeUnpin for WithdrawalField
impl UnwindSafe for WithdrawalField
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