pub struct ValidatorHistoryEntry {
pub epoch: u64,
pub vote_credits: Option<u32>,
pub commission: Option<u8>,
pub mev_commission_bps: Option<u16>,
pub version: Option<String>,
pub client_type: Option<String>,
pub active_stake: Option<u64>,
pub stake_rank: Option<u32>,
pub is_superminority: Option<bool>,
pub ip_address: Option<String>,
}Expand description
Single validator history entry for an epoch
Fields§
§epoch: u64Epoch
vote_credits: Option<u32>Vote credits earned
commission: Option<u8>Validator commission
mev_commission_bps: Option<u16>MEV commission in basis points
version: Option<String>Validator version
client_type: Option<String>Client type
active_stake: Option<u64>Active stake
stake_rank: Option<u32>Stake rank
is_superminority: Option<bool>Whether validator is in superminority
ip_address: Option<String>IP address
Trait Implementations§
Source§impl Clone for ValidatorHistoryEntry
impl Clone for ValidatorHistoryEntry
Source§fn clone(&self) -> ValidatorHistoryEntry
fn clone(&self) -> ValidatorHistoryEntry
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 ValidatorHistoryEntry
impl Debug for ValidatorHistoryEntry
Source§impl<'de> Deserialize<'de> for ValidatorHistoryEntry
impl<'de> Deserialize<'de> for ValidatorHistoryEntry
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 ValidatorHistoryEntry
impl RefUnwindSafe for ValidatorHistoryEntry
impl Send for ValidatorHistoryEntry
impl Sync for ValidatorHistoryEntry
impl Unpin for ValidatorHistoryEntry
impl UnwindSafe for ValidatorHistoryEntry
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