pub struct ValidatorHistory {
pub epoch: u64,
pub mev_commission_bps: u16,
pub mev_rewards: u64,
pub priority_fee_commission_bps: Option<u16>,
pub priority_fee_rewards: Option<u64>,
}Expand description
Historical validator data
Fields§
§epoch: u64Epoch
mev_commission_bps: u16MEV commission in basis points
mev_rewards: u64MEV rewards (lamports)
priority_fee_commission_bps: Option<u16>Priority fee commission in basis points
priority_fee_rewards: Option<u64>Priority fee rewards (lamports)
Trait Implementations§
Source§impl Clone for ValidatorHistory
impl Clone for ValidatorHistory
Source§fn clone(&self) -> ValidatorHistory
fn clone(&self) -> ValidatorHistory
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 ValidatorHistory
impl Debug for ValidatorHistory
Source§impl<'de> Deserialize<'de> for ValidatorHistory
impl<'de> Deserialize<'de> for ValidatorHistory
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 ValidatorHistory
impl RefUnwindSafe for ValidatorHistory
impl Send for ValidatorHistory
impl Sync for ValidatorHistory
impl Unpin for ValidatorHistory
impl UnwindSafe for ValidatorHistory
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