[][src]Struct tendermint_proto::consensus::NewValidBlock

pub struct NewValidBlock {
    pub height: i64,
    pub round: i32,
    pub block_part_set_header: Option<PartSetHeader>,
    pub block_parts: Option<BitArray>,
    pub is_commit: bool,
}

NewValidBlock is sent when a validator observes a valid block B in some round r, i.e., there is a Proposal for block B and 2/3+ prevotes for the block B in the round r. In case the block is also committed, then IsCommit flag is set to true.

Fields

height: i64round: i32block_part_set_header: Option<PartSetHeader>block_parts: Option<BitArray>is_commit: bool

Trait Implementations

impl Clone for NewValidBlock[src]

impl Debug for NewValidBlock[src]

impl Default for NewValidBlock[src]

impl Message for NewValidBlock[src]

impl PartialEq<NewValidBlock> for NewValidBlock[src]

impl StructuralPartialEq for NewValidBlock[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> From<T> for T[src]

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

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.