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 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
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
