[][src]Struct ibc_proto::ibc::core::client::v1::QueryConsensusStateRequest

pub struct QueryConsensusStateRequest {
    pub client_id: String,
    pub version_number: u64,
    pub version_height: u64,
    pub latest_height: bool,
}

QueryConsensusStateRequest is the request type for the Query/ConsensusState RPC method. Besides the consensus state, it includes a proof and the height from which the proof was retrieved.

Fields

client_id: String

client identifier

version_number: u64

consensus state version number

version_height: u64

consensus state version height

latest_height: bool

latest_height overrrides the height field and queries the latest stored ConsensusState

Trait Implementations

impl Clone for QueryConsensusStateRequest[src]

impl Debug for QueryConsensusStateRequest[src]

impl Default for QueryConsensusStateRequest[src]

impl Message for QueryConsensusStateRequest[src]

impl PartialEq<QueryConsensusStateRequest> for QueryConsensusStateRequest[src]

impl StructuralPartialEq for QueryConsensusStateRequest[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> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> IntoRequest<T> for 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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]