Struct ibc::ics04_channel::msgs::chan_close_init::MsgChannelCloseInit[][src]

pub struct MsgChannelCloseInit {
    pub port_id: PortId,
    pub channel_id: ChannelId,
    pub signer: Signer,
}

Message definition for the first step in the channel close handshake (ChanCloseInit datagram).

Fields

port_id: PortIdchannel_id: ChannelIdsigner: Signer

Implementations

impl MsgChannelCloseInit[src]

pub fn new(port_id: PortId, channel_id: ChannelId, 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]

Trait Implementations

impl Clone for MsgChannelCloseInit[src]

impl Debug for MsgChannelCloseInit[src]

impl Msg for MsgChannelCloseInit[src]

type ValidationError = Error

type Raw = RawMsgChannelCloseInit

impl PartialEq<MsgChannelCloseInit> for MsgChannelCloseInit[src]

impl Protobuf<MsgChannelCloseInit> for MsgChannelCloseInit[src]

impl StructuralPartialEq for MsgChannelCloseInit[src]

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