Struct ibc::ics03_connection::msgs::conn_open_ack::MsgConnectionOpenAck[][src]

pub struct MsgConnectionOpenAck {
    pub connection_id: ConnectionId,
    pub counterparty_connection_id: ConnectionId,
    pub client_state: Option<AnyClientState>,
    pub proofs: Proofs,
    pub version: Version,
    pub signer: Signer,
}

Message definition MsgConnectionOpenAck (i.e., ConnOpenAck datagram).

Fields

connection_id: ConnectionIdcounterparty_connection_id: ConnectionIdclient_state: Option<AnyClientState>proofs: Proofsversion: Versionsigner: Signer

Implementations

impl MsgConnectionOpenAck[src]

pub fn connection_id(&self) -> &ConnectionId[src]

Getter for accessing the connection identifier of this message.

pub fn counterparty_connection_id(&self) -> &ConnectionId[src]

Getter for accessing the counterparty’s connection identifier from this message.

pub fn client_state(&self) -> Option<AnyClientState>[src]

Getter for accessing the client state.

pub fn proofs(&self) -> &Proofs[src]

Getter for accessing (borrow) the proofs in this message.

pub fn version(&self) -> &Version[src]

Getter for the version field.

pub fn consensus_height(&self) -> Height[src]

Getter for accessing the consensus_height field from this message. Returns the special value Height(0) if this field is not set.

Trait Implementations

impl Clone for MsgConnectionOpenAck[src]

impl Debug for MsgConnectionOpenAck[src]

impl Eq for MsgConnectionOpenAck[src]

impl Msg for MsgConnectionOpenAck[src]

type ValidationError = Error

type Raw = RawMsgConnectionOpenAck

impl PartialEq<MsgConnectionOpenAck> for MsgConnectionOpenAck[src]

impl Protobuf<MsgConnectionOpenAck> for MsgConnectionOpenAck[src]

impl StructuralEq for MsgConnectionOpenAck[src]

impl StructuralPartialEq for MsgConnectionOpenAck[src]

impl TryFrom<MsgConnectionOpenAck> for MsgConnectionOpenAck[src]

type Error = Error<Kind>

The type returned in the event of a conversion error.

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> DynClone for T where
    T: Clone
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?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> Same<T> for T

type Output = T

Should always be Self

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]