[][src]Enum cosmwasm_std::CosmosMsg

pub enum CosmosMsg<T = Empty> where
    T: Clone + Debug + PartialEq + JsonSchema
{ Bank(BankMsg), Custom(T), Staking(StakingMsg), Wasm(WasmMsg), }

Variants

Bank(BankMsg)
Custom(T)
Staking(StakingMsg)
Wasm(WasmMsg)

Trait Implementations

impl<T: Clone> Clone for CosmosMsg<T> where
    T: Clone + Debug + PartialEq + JsonSchema
[src]

impl<T: Debug> Debug for CosmosMsg<T> where
    T: Clone + Debug + PartialEq + JsonSchema
[src]

impl<'de, T> Deserialize<'de> for CosmosMsg<T> where
    T: Clone + Debug + PartialEq + JsonSchema,
    T: Deserialize<'de>, 
[src]

impl<T: Clone + Debug + PartialEq + JsonSchema> From<BankMsg> for CosmosMsg<T>[src]

impl<T: Clone + Debug + PartialEq + JsonSchema> From<WasmMsg> for CosmosMsg<T>[src]

impl<T: JsonSchema> JsonSchema for CosmosMsg<T> where
    T: Clone + Debug + PartialEq + JsonSchema
[src]

impl<T: PartialEq> PartialEq<CosmosMsg<T>> for CosmosMsg<T> where
    T: Clone + Debug + PartialEq + JsonSchema
[src]

impl<T> Serialize for CosmosMsg<T> where
    T: Clone + Debug + PartialEq + JsonSchema,
    T: Serialize
[src]

impl<T> StructuralPartialEq for CosmosMsg<T> where
    T: Clone + Debug + PartialEq + JsonSchema
[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for CosmosMsg<T> where
    T: RefUnwindSafe

impl<T> Send for CosmosMsg<T> where
    T: Send

impl<T> Sync for CosmosMsg<T> where
    T: Sync

impl<T> Unpin for CosmosMsg<T> where
    T: Unpin

impl<T> UnwindSafe for CosmosMsg<T> where
    T: UnwindSafe

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: for<'de> 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.