Struct solana_client::rpc_response::RpcVoteAccountInfo[][src]

pub struct RpcVoteAccountInfo {
    pub vote_pubkey: String,
    pub node_pubkey: String,
    pub activated_stake: u64,
    pub commission: u8,
    pub epoch_vote_account: bool,
    pub epoch_credits: Vec<(Epoch, u64, u64)>,
    pub last_vote: u64,
    pub root_slot: Slot,
}

Fields

vote_pubkey: String

Vote account pubkey as base-58 encoded string

node_pubkey: String

The pubkey of the node that votes using this account

activated_stake: u64

The current stake, in lamports, delegated to this vote account

commission: u8

An 8-bit integer used as a fraction (commission/MAX_U8) for rewards payout

epoch_vote_account: bool

Whether this account is staked for the current epoch

epoch_credits: Vec<(Epoch, u64, u64)>

History of how many credits earned by the end of each epoch each tuple is (Epoch, credits, prev_credits)

last_vote: u64

Most recent slot voted on by this vote account (0 if no votes exist)

root_slot: Slot

Current root slot for this vote account (0 if not root slot exists)

Trait Implementations

impl Clone for RpcVoteAccountInfo[src]

impl Debug for RpcVoteAccountInfo[src]

impl<'de> Deserialize<'de> for RpcVoteAccountInfo[src]

impl Serialize for RpcVoteAccountInfo[src]

Auto Trait Implementations

impl RefUnwindSafe for RpcVoteAccountInfo

impl Send for RpcVoteAccountInfo

impl Sync for RpcVoteAccountInfo

impl Unpin for RpcVoteAccountInfo

impl UnwindSafe for RpcVoteAccountInfo

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> MaybeDebug for T where
    T: Debug
[src]

impl<T> Pointable for T[src]

type Init = T

The type for initializers.

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]