[][src]Enum cosmwasm::types::CosmosMsg

pub enum CosmosMsg {
    Send {
        from_address: String,
        to_address: String,
        amount: Vec<Coin>,
    },
    Contract {
        contract_addr: String,
        msg: String,
    },
    Opaque {
        data: String,
    },
}

Variants

Send

Fields of Send

from_address: Stringto_address: Stringamount: Vec<Coin>
Contract

Fields of Contract

contract_addr: Stringmsg: String
Opaque

Fields of Opaque

data: String

Trait Implementations

impl Serialize for CosmosMsg[src]

impl<'de> Deserialize<'de> for CosmosMsg[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

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<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]