pub struct WithdrawalValidatorIndex(/* private fields */);Expand description
Consensus-layer validator index referenced by a withdrawal.
Implementations§
Trait Implementations§
Source§impl Clone for WithdrawalValidatorIndex
impl Clone for WithdrawalValidatorIndex
Source§fn clone(&self) -> WithdrawalValidatorIndex
fn clone(&self) -> WithdrawalValidatorIndex
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 WithdrawalValidatorIndex
Source§impl Debug for WithdrawalValidatorIndex
impl Debug for WithdrawalValidatorIndex
impl Eq for WithdrawalValidatorIndex
Source§impl Hash for WithdrawalValidatorIndex
impl Hash for WithdrawalValidatorIndex
Source§impl Ord for WithdrawalValidatorIndex
impl Ord for WithdrawalValidatorIndex
Source§fn cmp(&self, other: &WithdrawalValidatorIndex) -> Ordering
fn cmp(&self, other: &WithdrawalValidatorIndex) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for WithdrawalValidatorIndex
impl PartialEq for WithdrawalValidatorIndex
Source§fn eq(&self, other: &WithdrawalValidatorIndex) -> bool
fn eq(&self, other: &WithdrawalValidatorIndex) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for WithdrawalValidatorIndex
impl PartialOrd for WithdrawalValidatorIndex
impl StructuralPartialEq for WithdrawalValidatorIndex
Auto Trait Implementations§
impl Freeze for WithdrawalValidatorIndex
impl RefUnwindSafe for WithdrawalValidatorIndex
impl Send for WithdrawalValidatorIndex
impl Sync for WithdrawalValidatorIndex
impl Unpin for WithdrawalValidatorIndex
impl UnsafeUnpin for WithdrawalValidatorIndex
impl UnwindSafe for WithdrawalValidatorIndex
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