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