[][src]Struct ibc_proto::ibc::lightclients::solomachine::v1::ClientState

pub struct ClientState {
    pub sequence: u64,
    pub frozen_sequence: u64,
    pub consensus_state: Option<ConsensusState>,
    pub allow_update_after_proposal: bool,
}

ClientState defines a solo machine client that tracks the current consensus state and if the client is frozen.

Fields

sequence: u64

latest sequence of the client state

frozen_sequence: u64

frozen sequence of the solo machine

consensus_state: Option<ConsensusState>allow_update_after_proposal: bool

when set to true, will allow governance to update a solo machine client. The client will be unfrozen if it is frozen.

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> 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]