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: u64validator_identity: Stringcredits: u64commission: u8root_slot: Option<Slot>recent_timestamp: BlockTimestampvotes: Vec<CliLockout>epoch_voting_history: Vec<CliEpochVotingHistory>use_lamports_unit: boolepoch_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 CliVoteAccountimpl Send for CliVoteAccountimpl Sync for CliVoteAccountimpl Unpin for CliVoteAccountimpl UnwindSafe for CliVoteAccountBlanket 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() -> TMutably 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 = TShould always be Self
pub fn vzip(self) -> V