pub struct ValidatorSummary {
pub pubkey: PubkeyHex,
pub status: ValidatorStatus,
pub validator_index: Option<u32>,
pub effective_balance: Amount,
pub slashed_amount: Amount,
pub activation_epoch: Option<u64>,
pub exit_epoch: Option<u64>,
}Expand description
Summary record for a single validator, returned by get_validator /
get_active_validators.
Fields§
§pubkey: PubkeyHexBLS12-381 G1 public key — the canonical validator identifier.
status: ValidatorStatusCurrent lifecycle state.
validator_index: Option<u32>Leaf index in the validator-merkle-root, if active. None until activation.
effective_balance: AmountEffective balance (Ethereum-parity hysteresis). In mojos.
slashed_amount: AmountCumulative slashed amount. In mojos.
activation_epoch: Option<u64>Epoch in which activation committed. None if not yet active.
exit_epoch: Option<u64>Epoch in which exit committed. None if not yet exiting.
Trait Implementations§
Source§impl Clone for ValidatorSummary
impl Clone for ValidatorSummary
Source§fn clone(&self) -> ValidatorSummary
fn clone(&self) -> ValidatorSummary
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 ValidatorSummary
impl Debug for ValidatorSummary
Source§impl<'de> Deserialize<'de> for ValidatorSummary
impl<'de> Deserialize<'de> for ValidatorSummary
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 ValidatorSummary
impl RefUnwindSafe for ValidatorSummary
impl Send for ValidatorSummary
impl Sync for ValidatorSummary
impl Unpin for ValidatorSummary
impl UnsafeUnpin for ValidatorSummary
impl UnwindSafe for ValidatorSummary
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