pub struct EpochValidatorInfo {
pub current_validators: Vec<CurrentEpochValidatorInfo>,
pub next_validators: Vec<NextEpochValidatorInfo>,
pub current_fishermen: Vec<ValidatorStakeView>,
pub next_fishermen: Vec<ValidatorStakeView>,
pub current_proposals: Vec<ValidatorStakeView>,
pub prev_epoch_kickout: Vec<ValidatorKickoutView>,
pub epoch_start_height: u64,
pub epoch_height: u64,
}Expand description
Epoch validator info from validators RPC.
Fields§
§current_validators: Vec<CurrentEpochValidatorInfo>Current epoch validators.
next_validators: Vec<NextEpochValidatorInfo>Next epoch validators.
current_fishermen: Vec<ValidatorStakeView>Current fishermen (deprecated, typically empty).
next_fishermen: Vec<ValidatorStakeView>Next fishermen (deprecated, typically empty).
current_proposals: Vec<ValidatorStakeView>Current proposals for next epoch.
prev_epoch_kickout: Vec<ValidatorKickoutView>Validators kicked out in previous epoch.
epoch_start_height: u64Block height when the epoch started.
epoch_height: u64Epoch height.
Trait Implementations§
Source§impl Clone for EpochValidatorInfo
impl Clone for EpochValidatorInfo
Source§fn clone(&self) -> EpochValidatorInfo
fn clone(&self) -> EpochValidatorInfo
Returns a duplicate 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 EpochValidatorInfo
impl Debug for EpochValidatorInfo
Source§impl<'de> Deserialize<'de> for EpochValidatorInfo
impl<'de> Deserialize<'de> for EpochValidatorInfo
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
Auto Trait Implementations§
impl Freeze for EpochValidatorInfo
impl RefUnwindSafe for EpochValidatorInfo
impl Send for EpochValidatorInfo
impl Sync for EpochValidatorInfo
impl Unpin for EpochValidatorInfo
impl UnsafeUnpin for EpochValidatorInfo
impl UnwindSafe for EpochValidatorInfo
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