pub struct StakerReward {
pub stake_account: String,
pub stake_authority: String,
pub withdraw_authority: String,
pub epoch: u64,
pub mev_rewards: u64,
pub priority_fee_rewards: Option<u64>,
pub mev_claimed: bool,
pub priority_fee_claimed: Option<bool>,
pub vote_account: String,
}Expand description
Individual staker reward entry
Fields§
§stake_account: StringThe public key of the stake account
The stake authority
The withdraw authority
epoch: u64Epoch when the reward was earned
mev_rewards: u64MEV rewards in lamports
priority_fee_rewards: Option<u64>Priority fee rewards in lamports
mev_claimed: boolWhether MEV rewards have been claimed
priority_fee_claimed: Option<bool>Whether priority fee rewards have been claimed
vote_account: StringValidator vote account
Trait Implementations§
Source§impl Clone for StakerReward
impl Clone for StakerReward
Source§fn clone(&self) -> StakerReward
fn clone(&self) -> StakerReward
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 StakerReward
impl Debug for StakerReward
Source§impl<'de> Deserialize<'de> for StakerReward
impl<'de> Deserialize<'de> for StakerReward
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 StakerReward
impl RefUnwindSafe for StakerReward
impl Send for StakerReward
impl Sync for StakerReward
impl Unpin for StakerReward
impl UnwindSafe for StakerReward
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