Trait abstract_sdk::base::ExecuteEndpoint
source · pub trait ExecuteEndpoint: Handler {
type ExecuteMsg: Serialize + JsonSchema;
// Required method
fn execute(
self,
deps: DepsMut<'_>,
env: Env,
info: MessageInfo,
msg: Self::ExecuteMsg
) -> Result<Response, Self::Error>;
}
Expand description
Trait for a contract’s Execute entry point.
Required Associated Types§
sourcetype ExecuteMsg: Serialize + JsonSchema
type ExecuteMsg: Serialize + JsonSchema
The message type for the Execute entry point.
Required Methods§
sourcefn execute(
self,
deps: DepsMut<'_>,
env: Env,
info: MessageInfo,
msg: Self::ExecuteMsg
) -> Result<Response, Self::Error>
fn execute( self, deps: DepsMut<'_>, env: Env, info: MessageInfo, msg: Self::ExecuteMsg ) -> Result<Response, Self::Error>
Handler for the Execute endpoint.
Object Safety§
This trait is not object safe.