Struct solana_cli_output::CliVoteAccount [−][src]
pub struct CliVoteAccount { pub account_balance: u64, pub validator_identity: String, pub authorized_voters: CliAuthorizedVoters, pub authorized_withdrawer: String, pub credits: u64, pub commission: u8, pub root_slot: Option<Slot>, pub recent_timestamp: BlockTimestamp, pub votes: Vec<CliLockout>, pub epoch_voting_history: Vec<CliEpochVotingHistory>, pub use_lamports_unit: bool, pub epoch_rewards: Option<Vec<CliEpochReward>>, }
Fields
account_balance: u64
validator_identity: String
credits: u64
commission: u8
root_slot: Option<Slot>
recent_timestamp: BlockTimestamp
votes: Vec<CliLockout>
epoch_voting_history: Vec<CliEpochVotingHistory>
use_lamports_unit: bool
epoch_rewards: Option<Vec<CliEpochReward>>
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 CliVoteAccount
impl Send for CliVoteAccount
impl Sync for CliVoteAccount
impl Unpin for CliVoteAccount
impl UnwindSafe for CliVoteAccount
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
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V