pub struct ValidatorIndex(/* private fields */);
Expand description
ValidatorIndex for a particular Vote
Implementations§
Trait Implementations§
Source§impl Clone for ValidatorIndex
impl Clone for ValidatorIndex
Source§fn clone(&self) -> ValidatorIndex
fn clone(&self) -> ValidatorIndex
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 ValidatorIndex
impl Debug for ValidatorIndex
Source§impl Display for ValidatorIndex
impl Display for ValidatorIndex
Source§impl From<ValidatorIndex> for i32
impl From<ValidatorIndex> for i32
Source§fn from(value: ValidatorIndex) -> Self
fn from(value: ValidatorIndex) -> Self
Converts to this type from the input type.
Source§impl From<ValidatorIndex> for u32
impl From<ValidatorIndex> for u32
Source§fn from(value: ValidatorIndex) -> Self
fn from(value: ValidatorIndex) -> Self
Converts to this type from the input type.
Source§impl From<ValidatorIndex> for usize
impl From<ValidatorIndex> for usize
Source§fn from(value: ValidatorIndex) -> Self
fn from(value: ValidatorIndex) -> Self
Converts to this type from the input type.
Source§impl FromStr for ValidatorIndex
impl FromStr for ValidatorIndex
Source§impl Hash for ValidatorIndex
impl Hash for ValidatorIndex
Source§impl Ord for ValidatorIndex
impl Ord for ValidatorIndex
Source§fn cmp(&self, other: &ValidatorIndex) -> Ordering
fn cmp(&self, other: &ValidatorIndex) -> Ordering
1.21.0 · 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 ValidatorIndex
impl PartialEq for ValidatorIndex
Source§impl PartialOrd for ValidatorIndex
impl PartialOrd for ValidatorIndex
Source§impl TryFrom<i32> for ValidatorIndex
impl TryFrom<i32> for ValidatorIndex
Source§impl TryFrom<u32> for ValidatorIndex
impl TryFrom<u32> for ValidatorIndex
Source§impl TryFrom<usize> for ValidatorIndex
impl TryFrom<usize> for ValidatorIndex
impl Copy for ValidatorIndex
impl Eq for ValidatorIndex
impl StructuralPartialEq for ValidatorIndex
Auto Trait Implementations§
impl Freeze for ValidatorIndex
impl RefUnwindSafe for ValidatorIndex
impl Send for ValidatorIndex
impl Sync for ValidatorIndex
impl Unpin for ValidatorIndex
impl UnwindSafe for ValidatorIndex
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