[−][src]Enum cosmwasm_std::WasmMsg
pub enum WasmMsg { Execute { contract_addr: HumanAddr, msg: Binary, send: Vec<Coin>, }, Instantiate { code_id: u64, msg: Binary, send: Vec<Coin>, label: Option<String>, }, }
Variants
this dispatches a call to another contract at a known address (with known ABI)
Fields of Execute
this instantiates a new contracts from previously uploaded wasm code
Fields of Instantiate
Trait Implementations
impl Clone for WasmMsg
[src][+]
impl Debug for WasmMsg
[src][+]
impl<'de> Deserialize<'de> for WasmMsg
[src][+]
impl<T: Clone + Debug + PartialEq + JsonSchema> From<WasmMsg> for CosmosMsg<T>
[src][+]
impl JsonSchema for WasmMsg
[src][+]
impl PartialEq<WasmMsg> for WasmMsg
[src][+]
impl Serialize for WasmMsg
[src][+]
impl StructuralPartialEq for WasmMsg
[src]
Auto Trait Implementations
impl RefUnwindSafe for WasmMsg
impl Send for WasmMsg
impl Sync for WasmMsg
impl Unpin for WasmMsg
impl UnwindSafe for WasmMsg
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,