pub struct ValidatorInfo {
pub vote_account: String,
pub mev_commission_bps: Option<u16>,
pub mev_rewards: Option<u64>,
pub priority_fee_commission_bps: Option<u16>,
pub priority_fee_rewards: Option<u64>,
pub running_jito: bool,
pub running_bam: Option<bool>,
pub active_stake: u64,
}Expand description
Validator information
Fields§
§vote_account: StringValidator vote account
mev_commission_bps: Option<u16>MEV commission in basis points
mev_rewards: Option<u64>MEV rewards for the epoch (lamports)
priority_fee_commission_bps: Option<u16>Priority fee commission in basis points
priority_fee_rewards: Option<u64>Priority fee rewards (lamports)
running_jito: boolWhether the validator is running Jito
running_bam: Option<bool>Whether the validator is running BAM
active_stake: u64Active stake amount (lamports)
Trait Implementations§
Source§impl Clone for ValidatorInfo
impl Clone for ValidatorInfo
Source§fn clone(&self) -> ValidatorInfo
fn clone(&self) -> ValidatorInfo
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 ValidatorInfo
impl Debug for ValidatorInfo
Source§impl<'de> Deserialize<'de> for ValidatorInfo
impl<'de> Deserialize<'de> for ValidatorInfo
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 ValidatorInfo
impl RefUnwindSafe for ValidatorInfo
impl Send for ValidatorInfo
impl Sync for ValidatorInfo
impl Unpin for ValidatorInfo
impl UnwindSafe for ValidatorInfo
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