Struct ibc::application::ics20_fungible_token_transfer::msgs::transfer::MsgTransfer[][src]

pub struct MsgTransfer {
    pub source_port: PortId,
    pub source_channel: ChannelId,
    pub token: Option<Coin>,
    pub sender: Signer,
    pub receiver: Signer,
    pub timeout_height: Height,
    pub timeout_timestamp: u64,
}

Message definition for the “packet receiving” datagram.

Fields

source_port: PortId

the port on which the packet will be sent

source_channel: ChannelId

the channel by which the packet will be sent

token: Option<Coin>

the tokens to be transferred

sender: Signer

the sender address

receiver: Signer

the recipient address on the destination chain

timeout_height: Height

Timeout height relative to the current block height. The timeout is disabled when set to 0.

timeout_timestamp: u64

Timeout timestamp (in nanoseconds) relative to the current block timestamp. The timeout is disabled when set to 0.

Trait Implementations

impl Clone for MsgTransfer[src]

impl Debug for MsgTransfer[src]

impl Msg for MsgTransfer[src]

type ValidationError = Error

type Raw = RawMsgTransfer

impl PartialEq<MsgTransfer> for MsgTransfer[src]

impl Protobuf<MsgTransfer> for MsgTransfer[src]

impl StructuralPartialEq for MsgTransfer[src]

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