[][src]Struct tendermint::amino_types::vote::Vote

pub struct Vote {
    pub vote_type: u32,
    pub height: i64,
    pub round: i64,
    pub timestamp: Option<TimeMsg>,
    pub block_id: Option<BlockId>,
    pub validator_address: Vec<u8>,
    pub validator_index: i64,
    pub signature: Vec<u8>,
}

Fields

Trait Implementations

impl ConsensusMessage for Vote
[src]

impl ParseHeight for Vote
[src]

impl Clone for Vote
[src]

Performs copy-assignment from source. Read more

impl Default for Vote
[src]

impl PartialEq<Vote> for Vote
[src]

impl Debug for Vote
[src]

impl Message for Vote
[src]

Encodes the message to a buffer. Read more

Encodes the message with a length-delimiter to a buffer. Read more

Decodes an instance of the message from a buffer. Read more

Decodes a length-delimited instance of the message from the buffer.

Decodes an instance of the message from a buffer, and merges it into self. Read more

Decodes a length-delimited instance of the message from buffer, and merges it into self. Read more

Auto Trait Implementations

impl Send for Vote

impl Sync for Vote

Blanket Implementations

impl<T> From for T
[src]

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

impl<T> Same for T

Should always be Self

impl<T> Clear for T where
    T: InitializableFromZeroed + ?Sized

impl<T> InitializableFromZeroed for T where
    T: Default