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

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

Variants

Send

Fields of Send

from_address: HumanAddrto_address: HumanAddramount: Vec<Coin>
Contract

Fields of Contract

contract_addr: HumanAddrmsg: Binarysend: Option<Vec<Coin>>
Opaque

Fields of Opaque

data: Binary

Trait Implementations

impl Clone for CosmosMsg[src]

impl Debug for CosmosMsg[src]

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

impl JsonSchema for CosmosMsg[src]

impl PartialEq<CosmosMsg> for CosmosMsg[src]

impl Serialize for CosmosMsg[src]

impl StructuralPartialEq for CosmosMsg[src]

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> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

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

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

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.