Struct helium_api::models::ValidatorStats [−][src]
pub struct ValidatorStats {
pub active: Option<u64>,
pub staked: StakeStats,
pub unstaked: StakeStats,
pub cooldown: StakeStats,
}Expand description
Stats for validators
Fields
active: Option<u64>The number of active validators. An active validator is one that emits
heartbeat transactions on a regular basis. None indicates the active
number is unknown at this time.
staked: StakeStatsunstaked: StakeStatscooldown: StakeStatsTrait Implementations
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 RefUnwindSafe for ValidatorStatsimpl Send for ValidatorStatsimpl Sync for ValidatorStatsimpl Unpin for ValidatorStatsimpl UnwindSafe for ValidatorStatsBlanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more