[][src]Struct ibc_proto::localhost::ClientState

pub struct ClientState {
    pub id: String,
    pub chain_id: String,
    pub height: u64,
}

ClientState defines a loopback (localhost) client. It requires (read-only) access to keys outside the client prefix.

Fields

id: String

client id

chain_id: String

self chain ID

height: u64

self latest block height

Trait Implementations

impl Clone for ClientState[src]

impl Debug for ClientState[src]

impl Default for ClientState[src]

impl Message for ClientState[src]

impl PartialEq<ClientState> for ClientState[src]

impl StructuralPartialEq for ClientState[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.