Struct ibc::ics04_channel::msgs::chan_open_ack::MsgChannelOpenAck[][src]

pub struct MsgChannelOpenAck {
    pub port_id: PortId,
    pub channel_id: ChannelId,
    pub counterparty_channel_id: ChannelId,
    pub counterparty_version: String,
    pub proofs: Proofs,
    pub signer: Signer,
}

Message definition for the third step in the channel open handshake (ChanOpenAck datagram).

Fields

port_id: PortIdchannel_id: ChannelIdcounterparty_channel_id: ChannelIdcounterparty_version: Stringproofs: Proofssigner: Signer

Implementations

impl MsgChannelOpenAck[src]

pub fn new(
    port_id: PortId,
    channel_id: ChannelId,
    counterparty_channel_id: ChannelId,
    counterparty_version: String,
    proofs: Proofs,
    signer: Signer
) -> Self
[src]

pub fn port_id(&self) -> &PortId[src]

Getter: borrow the port_id from this message.

pub fn channel_id(&self) -> &ChannelId[src]

pub fn counterparty_channel_id(&self) -> &ChannelId[src]

pub fn counterparty_version(&self) -> &String[src]

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

Trait Implementations

impl Clone for MsgChannelOpenAck[src]

impl Debug for MsgChannelOpenAck[src]

impl Msg for MsgChannelOpenAck[src]

type ValidationError = Error

type Raw = RawMsgChannelOpenAck

impl PartialEq<MsgChannelOpenAck> for MsgChannelOpenAck[src]

impl Protobuf<MsgChannelOpenAck> for MsgChannelOpenAck[src]

impl StructuralPartialEq for MsgChannelOpenAck[src]

impl TryFrom<MsgChannelOpenAck> for MsgChannelOpenAck[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<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]