pub struct StakePoolStats {
pub epoch: u64,
pub total_lamports: u64,
pub jitosol_supply: f64,
pub exchange_ratio: f64,
pub apy: f64,
pub num_validators: u64,
pub total_mev_earned: u64,
}Expand description
Stake pool statistics
Fields§
§epoch: u64Epoch
total_lamports: u64Total stake pool value (lamports)
jitosol_supply: f64JitoSOL supply
exchange_ratio: f64Current exchange ratio
apy: f64Annual percentage yield
num_validators: u64Number of validators
total_mev_earned: u64Total MEV earned
Trait Implementations§
Source§impl Clone for StakePoolStats
impl Clone for StakePoolStats
Source§fn clone(&self) -> StakePoolStats
fn clone(&self) -> StakePoolStats
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 StakePoolStats
impl Debug for StakePoolStats
Source§impl<'de> Deserialize<'de> for StakePoolStats
impl<'de> Deserialize<'de> for StakePoolStats
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 StakePoolStats
impl RefUnwindSafe for StakePoolStats
impl Send for StakePoolStats
impl Sync for StakePoolStats
impl Unpin for StakePoolStats
impl UnwindSafe for StakePoolStats
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