Enum abstract_std::base::ExecuteMsg
source · pub enum ExecuteMsg<BaseMsg, CustomExecMsg, ReceiveMsg = Empty> {
Base(BaseMsg),
Module(CustomExecMsg),
IbcCallback(IbcResponseMsg),
ModuleIbc(ModuleIbcMsg),
Receive(ReceiveMsg),
}
Expand description
Wrapper around all possible messages that can be sent to the module.
Variants§
Base(BaseMsg)
A configuration message, defined by the base.
Module(CustomExecMsg)
An app request defined by a base consumer.
IbcCallback(IbcResponseMsg)
IbcReceive to process IBC callbacks In order to trust this, the apps and adapters verify this comes from the ibc-client contract.
ModuleIbc(ModuleIbcMsg)
ModuleIbc endpoint to receive messages from modules on other chains
In order to trust this, the apps and adapters verify this comes from the ibc-host contract.
They should also trust the sending chain
Receive(ReceiveMsg)
Receive endpoint for CW20 / external service integrations
Trait Implementations§
source§impl<BaseMsg: Clone, CustomExecMsg: Clone, ReceiveMsg: Clone> Clone for ExecuteMsg<BaseMsg, CustomExecMsg, ReceiveMsg>
impl<BaseMsg: Clone, CustomExecMsg: Clone, ReceiveMsg: Clone> Clone for ExecuteMsg<BaseMsg, CustomExecMsg, ReceiveMsg>
source§fn clone(&self) -> ExecuteMsg<BaseMsg, CustomExecMsg, ReceiveMsg>
fn clone(&self) -> ExecuteMsg<BaseMsg, CustomExecMsg, ReceiveMsg>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<BaseMsg: Debug, CustomExecMsg: Debug, ReceiveMsg: Debug> Debug for ExecuteMsg<BaseMsg, CustomExecMsg, ReceiveMsg>
impl<BaseMsg: Debug, CustomExecMsg: Debug, ReceiveMsg: Debug> Debug for ExecuteMsg<BaseMsg, CustomExecMsg, ReceiveMsg>
source§impl<'de, BaseMsg, CustomExecMsg, ReceiveMsg> Deserialize<'de> for ExecuteMsg<BaseMsg, CustomExecMsg, ReceiveMsg>
impl<'de, BaseMsg, CustomExecMsg, ReceiveMsg> Deserialize<'de> for ExecuteMsg<BaseMsg, CustomExecMsg, ReceiveMsg>
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<RequestMsg, Request, BaseExecMsg> From<AdapterRequestMsg<RequestMsg>> for ExecuteMsg<BaseExecMsg, AdapterRequestMsg<RequestMsg>, Request>
impl<RequestMsg, Request, BaseExecMsg> From<AdapterRequestMsg<RequestMsg>> for ExecuteMsg<BaseExecMsg, AdapterRequestMsg<RequestMsg>, Request>
source§fn from(request_msg: AdapterRequestMsg<RequestMsg>) -> Self
fn from(request_msg: AdapterRequestMsg<RequestMsg>) -> Self
Converts to this type from the input type.
source§impl<RequestMsg, ReceiveMsg> From<BaseExecuteMsg> for ExecuteMsg<BaseExecuteMsg, RequestMsg, ReceiveMsg>
impl<RequestMsg, ReceiveMsg> From<BaseExecuteMsg> for ExecuteMsg<BaseExecuteMsg, RequestMsg, ReceiveMsg>
source§fn from(adapter_msg: BaseExecuteMsg) -> Self
fn from(adapter_msg: BaseExecuteMsg) -> Self
Converts to this type from the input type.
source§impl<BaseMsg: JsonSchema, CustomExecMsg: JsonSchema, ReceiveMsg: JsonSchema> JsonSchema for ExecuteMsg<BaseMsg, CustomExecMsg, ReceiveMsg>
impl<BaseMsg: JsonSchema, CustomExecMsg: JsonSchema, ReceiveMsg: JsonSchema> JsonSchema for ExecuteMsg<BaseMsg, CustomExecMsg, ReceiveMsg>
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresource§impl<BaseMsg: PartialEq, CustomExecMsg: PartialEq, ReceiveMsg: PartialEq> PartialEq for ExecuteMsg<BaseMsg, CustomExecMsg, ReceiveMsg>
impl<BaseMsg: PartialEq, CustomExecMsg: PartialEq, ReceiveMsg: PartialEq> PartialEq for ExecuteMsg<BaseMsg, CustomExecMsg, ReceiveMsg>
source§fn eq(&self, other: &ExecuteMsg<BaseMsg, CustomExecMsg, ReceiveMsg>) -> bool
fn eq(&self, other: &ExecuteMsg<BaseMsg, CustomExecMsg, ReceiveMsg>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<BaseMsg, CustomExecMsg, ReceiveMsg> Serialize for ExecuteMsg<BaseMsg, CustomExecMsg, ReceiveMsg>
impl<BaseMsg, CustomExecMsg, ReceiveMsg> Serialize for ExecuteMsg<BaseMsg, CustomExecMsg, ReceiveMsg>
impl<BaseMsg, CustomExecMsg, ReceiveMsg> StructuralPartialEq for ExecuteMsg<BaseMsg, CustomExecMsg, ReceiveMsg>
Auto Trait Implementations§
impl<BaseMsg, CustomExecMsg, ReceiveMsg> Freeze for ExecuteMsg<BaseMsg, CustomExecMsg, ReceiveMsg>
impl<BaseMsg, CustomExecMsg, ReceiveMsg> RefUnwindSafe for ExecuteMsg<BaseMsg, CustomExecMsg, ReceiveMsg>
impl<BaseMsg, CustomExecMsg, ReceiveMsg> Send for ExecuteMsg<BaseMsg, CustomExecMsg, ReceiveMsg>
impl<BaseMsg, CustomExecMsg, ReceiveMsg> Sync for ExecuteMsg<BaseMsg, CustomExecMsg, ReceiveMsg>
impl<BaseMsg, CustomExecMsg, ReceiveMsg> Unpin for ExecuteMsg<BaseMsg, CustomExecMsg, ReceiveMsg>
impl<BaseMsg, CustomExecMsg, ReceiveMsg> UnwindSafe for ExecuteMsg<BaseMsg, CustomExecMsg, ReceiveMsg>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more