Struct miraland_cli_output::CliValidators
source · 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<CliVersion, 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<CliVersion, CliValidatorsStakeByVersion>
§use_lamports_unit: bool
Trait Implementations§
source§impl<'de> Deserialize<'de> for CliValidators
impl<'de> Deserialize<'de> for CliValidators
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
source§impl Display for CliValidators
impl Display for CliValidators
source§impl QuietDisplay for CliValidators
impl QuietDisplay for CliValidators
source§impl Serialize for CliValidators
impl Serialize for CliValidators
source§impl VerboseDisplay for CliValidators
impl VerboseDisplay for CliValidators
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§
§impl<T> AbiEnumVisitor for T
impl<T> AbiEnumVisitor for T
default fn visit_for_abi( &self, digester: &mut AbiDigester ) -> Result<AbiDigester, DigestError>
§impl<T> AbiEnumVisitor for T
impl<T> AbiEnumVisitor for T
default fn visit_for_abi( &self, _digester: &mut AbiDigester ) -> Result<AbiDigester, DigestError>
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