Enum abstract_core_testing::base::ExecuteMsg
source · pub enum ExecuteMsg<BaseMsg, ModuleMsg, ReceiveMsg = Empty> {
Base(BaseMsg),
Module(ModuleMsg),
IbcCallback(IbcResponseMsg),
Receive(ReceiveMsg),
}
Expand description
Wrapper around all possible messages that can be sent to the contract.
Variants§
Base(BaseMsg)
A configuration message, defined by the base.
Module(ModuleMsg)
An app request defined by a base consumer.
IbcCallback(IbcResponseMsg)
IbcReceive to process IBC callbacks
Receive(ReceiveMsg)
Receive endpoint for CW20 / external service integrations
Trait Implementations§
source§impl<BaseMsg: Clone, ModuleMsg: Clone, ReceiveMsg: Clone> Clone for ExecuteMsg<BaseMsg, ModuleMsg, ReceiveMsg>
impl<BaseMsg: Clone, ModuleMsg: Clone, ReceiveMsg: Clone> Clone for ExecuteMsg<BaseMsg, ModuleMsg, ReceiveMsg>
source§fn clone(&self) -> ExecuteMsg<BaseMsg, ModuleMsg, ReceiveMsg>
fn clone(&self) -> ExecuteMsg<BaseMsg, ModuleMsg, 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, ModuleMsg: Debug, ReceiveMsg: Debug> Debug for ExecuteMsg<BaseMsg, ModuleMsg, ReceiveMsg>
impl<BaseMsg: Debug, ModuleMsg: Debug, ReceiveMsg: Debug> Debug for ExecuteMsg<BaseMsg, ModuleMsg, ReceiveMsg>
source§impl<'de, BaseMsg, ModuleMsg, ReceiveMsg> Deserialize<'de> for ExecuteMsg<BaseMsg, ModuleMsg, ReceiveMsg>where
BaseMsg: Deserialize<'de>,
ModuleMsg: Deserialize<'de>,
ReceiveMsg: Deserialize<'de>,
impl<'de, BaseMsg, ModuleMsg, ReceiveMsg> Deserialize<'de> for ExecuteMsg<BaseMsg, ModuleMsg, ReceiveMsg>where BaseMsg: Deserialize<'de>, ModuleMsg: Deserialize<'de>, ReceiveMsg: Deserialize<'de>,
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 MiddlewareExecMsg<BaseExecMsg, AdapterRequestMsg<RequestMsg>, Request>
impl<RequestMsg, Request, BaseExecMsg> From<AdapterRequestMsg<RequestMsg>> for MiddlewareExecMsg<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 MiddlewareExecMsg<BaseExecuteMsg, RequestMsg, ReceiveMsg>
impl<RequestMsg, ReceiveMsg> From<BaseExecuteMsg> for MiddlewareExecMsg<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, ModuleMsg: JsonSchema, ReceiveMsg: JsonSchema> JsonSchema for ExecuteMsg<BaseMsg, ModuleMsg, ReceiveMsg>
impl<BaseMsg: JsonSchema, ModuleMsg: JsonSchema, ReceiveMsg: JsonSchema> JsonSchema for ExecuteMsg<BaseMsg, ModuleMsg, ReceiveMsg>
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. 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, ModuleMsg: PartialEq, ReceiveMsg: PartialEq> PartialEq<ExecuteMsg<BaseMsg, ModuleMsg, ReceiveMsg>> for ExecuteMsg<BaseMsg, ModuleMsg, ReceiveMsg>
impl<BaseMsg: PartialEq, ModuleMsg: PartialEq, ReceiveMsg: PartialEq> PartialEq<ExecuteMsg<BaseMsg, ModuleMsg, ReceiveMsg>> for ExecuteMsg<BaseMsg, ModuleMsg, ReceiveMsg>
source§fn eq(&self, other: &ExecuteMsg<BaseMsg, ModuleMsg, ReceiveMsg>) -> bool
fn eq(&self, other: &ExecuteMsg<BaseMsg, ModuleMsg, ReceiveMsg>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<BaseMsg, ModuleMsg, ReceiveMsg> Serialize for ExecuteMsg<BaseMsg, ModuleMsg, ReceiveMsg>where
BaseMsg: Serialize,
ModuleMsg: Serialize,
ReceiveMsg: Serialize,
impl<BaseMsg, ModuleMsg, ReceiveMsg> Serialize for ExecuteMsg<BaseMsg, ModuleMsg, ReceiveMsg>where BaseMsg: Serialize, ModuleMsg: Serialize, ReceiveMsg: Serialize,
impl<BaseMsg, ModuleMsg, ReceiveMsg> StructuralPartialEq for ExecuteMsg<BaseMsg, ModuleMsg, ReceiveMsg>
Auto Trait Implementations§
impl<BaseMsg, ModuleMsg, ReceiveMsg> RefUnwindSafe for ExecuteMsg<BaseMsg, ModuleMsg, ReceiveMsg>where BaseMsg: RefUnwindSafe, ModuleMsg: RefUnwindSafe, ReceiveMsg: RefUnwindSafe,
impl<BaseMsg, ModuleMsg, ReceiveMsg> Send for ExecuteMsg<BaseMsg, ModuleMsg, ReceiveMsg>where BaseMsg: Send, ModuleMsg: Send, ReceiveMsg: Send,
impl<BaseMsg, ModuleMsg, ReceiveMsg> Sync for ExecuteMsg<BaseMsg, ModuleMsg, ReceiveMsg>where BaseMsg: Sync, ModuleMsg: Sync, ReceiveMsg: Sync,
impl<BaseMsg, ModuleMsg, ReceiveMsg> Unpin for ExecuteMsg<BaseMsg, ModuleMsg, ReceiveMsg>where BaseMsg: Unpin, ModuleMsg: Unpin, ReceiveMsg: Unpin,
impl<BaseMsg, ModuleMsg, ReceiveMsg> UnwindSafe for ExecuteMsg<BaseMsg, ModuleMsg, ReceiveMsg>where BaseMsg: UnwindSafe, ModuleMsg: UnwindSafe, ReceiveMsg: UnwindSafe,
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