Struct solana_cli_output::CliValidators [−][src]
pub struct CliValidators {
pub total_active_stake: u64,
pub total_current_stake: u64,
pub total_delinquent_stake: u64,
pub validators: Vec<CliValidator>,
pub average_skip_rate: f64,
pub average_stake_weighted_skip_rate: f64,
pub validators_sort_order: CliValidatorsSortOrder,
pub validators_reverse_sort: bool,
pub number_validators: bool,
pub stake_by_version: BTreeMap<String, CliValidatorsStakeByVersion>,
pub use_lamports_unit: bool,
}
Fields
total_active_stake: u64
total_current_stake: u64
total_delinquent_stake: u64
validators: Vec<CliValidator>
average_skip_rate: f64
average_stake_weighted_skip_rate: f64
validators_sort_order: CliValidatorsSortOrder
validators_reverse_sort: bool
number_validators: bool
stake_by_version: BTreeMap<String, CliValidatorsStakeByVersion>
use_lamports_unit: bool
Trait 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 CliValidators
impl Send for CliValidators
impl Sync for CliValidators
impl Unpin for CliValidators
impl UnwindSafe for CliValidators
Blanket Implementations
pub default fn visit_for_abi(
&self,
digester: &mut AbiDigester
) -> Result<AbiDigester, DigestError>
pub default fn visit_for_abi(
&self,
_digester: &mut AbiDigester
) -> Result<AbiDigester, DigestError>
pub default fn example() -> T
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more