[][src]Struct exonum::blockchain::BlockProof

pub struct BlockProof {
    pub block: Block,
    pub precommits: Vec<Signed<Precommit>>,
}

Block with its Precommit messages.

This structure contains enough information to prove the correctness of a block. It consists of the block itself and the Precommit messages related to this block.

Fields

block: Block

Block header containing such information as the ID of the node which proposed the block, the height of the block, the number of transactions in the block, etc.

precommits: Vec<Signed<Precommit>>

List of Precommit messages for the block.

Trait Implementations

impl PartialEq<BlockProof> for BlockProof[src]

impl Clone for BlockProof[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for BlockProof[src]

impl Serialize for BlockProof[src]

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

Auto Trait Implementations

impl Send for BlockProof

impl Sync for BlockProof

Blanket Implementations

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

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

type Owned = T

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

impl<T, U> TryInto 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> Any for T where
    T: 'static + ?Sized
[src]

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

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self

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