Struct ibc::ics04_channel::msgs::chan_open_init::MsgChannelOpenInit[][src]

pub struct MsgChannelOpenInit {
    pub port_id: PortId,
    pub channel: ChannelEnd,
    pub signer: Signer,
}

Message definition for the first step in the channel open handshake (ChanOpenInit datagram).

Fields

port_id: PortIdchannel: ChannelEndsigner: Signer

Implementations

impl MsgChannelOpenInit[src]

pub fn new(port_id: PortId, channel: ChannelEnd, signer: Signer) -> Self[src]

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

Getter: borrow the port_id from this message.

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

Getter: borrow the channelEnd from this message.

Trait Implementations

impl Clone for MsgChannelOpenInit[src]

impl Debug for MsgChannelOpenInit[src]

impl Msg for MsgChannelOpenInit[src]

type ValidationError = Error

type Raw = RawMsgChannelOpenInit

impl PartialEq<MsgChannelOpenInit> for MsgChannelOpenInit[src]

impl Protobuf<MsgChannelOpenInit> for MsgChannelOpenInit[src]

impl StructuralPartialEq for MsgChannelOpenInit[src]

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