[][src]Enum solana_vote_program::vote_instruction::VoteInstruction

pub enum VoteInstruction {
    InitializeAccount(VoteInit),
    Authorize(PubkeyVoteAuthorize),
    Vote(Vote),
    Withdraw(u64),
    UpdateNode(Pubkey),
}

Variants

InitializeAccount(VoteInit)

Initialize the VoteState for this vote account

Authorize(PubkeyVoteAuthorize)

Authorize a voter to send signed votes or a withdrawer to withdraw

Vote(Vote)

A Vote instruction with recent votes

Withdraw(u64)

Withdraw some amount of funds

UpdateNode(Pubkey)

Update the vote account's validator identity (node id)

Trait Implementations

impl Clone for VoteInstruction[src]

impl Debug for VoteInstruction[src]

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

impl Eq for VoteInstruction[src]

impl PartialEq<VoteInstruction> for VoteInstruction[src]

impl Serialize for VoteInstruction[src]

impl StructuralEq for VoteInstruction[src]

impl StructuralPartialEq for VoteInstruction[src]

Auto Trait Implementations

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: Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

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

impl<T> Same<T> for T

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.