[][src]Struct exonum_btc_anchoring::api::BlockHeaderProof

pub struct BlockHeaderProof {
    pub latest_authorized_block: BlockProof,
    pub to_table: MapProof<Hash, Hash>,
    pub to_block_header: ListProof<Hash>,
}

A proof of existence for an anchored or a non-anchored Exonum block at the given height.

Fields

latest_authorized_block: BlockProof

Latest authorized block in the blockchain.

to_table: MapProof<Hash, Hash>

Proof for the whole database table.

to_block_header: ListProof<Hash>

Proof for the specific header in this table.

Trait Implementations

impl ValidateProof for BlockHeaderProof[src]

type Output = (u64, Hash)

Output value.

impl Debug for BlockHeaderProof[src]

impl Serialize for BlockHeaderProof[src]

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

Auto Trait Implementations

Blanket Implementations

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

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

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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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<T> for T

type Output = T

Should always be Self

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

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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