Struct terra_rust_api::messages::market::MsgSwap[][src]

pub struct MsgSwap {
    pub ask_denom: String,
    pub offer_coin: Coin,
    pub trader: String,
}
Expand description

swap a coin, and send it to someone

Fields

ask_denom: Stringoffer_coin: Cointrader: String

to account

Implementations

swap a coin, and send it to someone

Trait Implementations

Formats the value using the given formatter. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.