[][src]Struct abci::types::QueryResponse

pub struct QueryResponse {
    pub log: String,
    pub info: String,
    pub index: i64,
    pub key: Vec<u8>,
    pub value: Vec<u8>,
    pub proof: Option<Proof>,
    pub height: i64,
}

Fields

log: String

Output of application's logger (may be non-deterministic)

info: String

Additional information (may be non-deterministic)

index: i64

Index of the key in the tree

key: Vec<u8>

Key of the matching data

value: Vec<u8>

Value of the matching data

proof: Option<Proof>

Serialized proof for the value data, if requested, to be verified against the app_hash for the given height

height: i64

Block height from which data was derived

Note

this is the height of the block containing the application's Merkle root hash, which represents the state as it was after committing the block at height-1

Trait Implementations

impl Debug for QueryResponse[src]

impl Default for QueryResponse[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, 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.