Struct ibc::ics04_channel::msgs::chan_open_try::MsgChannelOpenTry[][src]

pub struct MsgChannelOpenTry {
    pub port_id: PortId,
    pub previous_channel_id: Option<ChannelId>,
    pub channel: ChannelEnd,
    pub counterparty_version: String,
    pub proofs: Proofs,
    pub signer: Signer,
}

Message definition for the second step in the channel open handshake (ChanOpenTry datagram).

Fields

port_id: PortIdprevious_channel_id: Option<ChannelId>channel: ChannelEndcounterparty_version: Stringproofs: Proofssigner: Signer

Implementations

impl MsgChannelOpenTry[src]

pub fn new(
    port_id: PortId,
    previous_channel_id: Option<ChannelId>,
    channel: ChannelEnd,
    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 previous_channel_id(&self) -> &Option<ChannelId>[src]

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

pub fn channel(&self) -> &ChannelEnd[src]

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

Trait Implementations

impl Clone for MsgChannelOpenTry[src]

impl Debug for MsgChannelOpenTry[src]

impl Msg for MsgChannelOpenTry[src]

type ValidationError = Error

type Raw = RawMsgChannelOpenTry

impl PartialEq<MsgChannelOpenTry> for MsgChannelOpenTry[src]

impl Protobuf<MsgChannelOpenTry> for MsgChannelOpenTry[src]

impl StructuralPartialEq for MsgChannelOpenTry[src]

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