Struct sg_std::StargazeMsgWrapper
source · pub struct StargazeMsgWrapper {
pub route: StargazeRoute,
pub msg_data: StargazeMsg,
pub version: String,
}
Expand description
StargazeMsg is an override of CosmosMsg::Custom to add support for Stargaze’s custom message types
Fields§
§route: StargazeRoute
§msg_data: StargazeMsg
§version: String
Trait Implementations§
source§impl Clone for StargazeMsgWrapper
impl Clone for StargazeMsgWrapper
source§fn clone(&self) -> StargazeMsgWrapper
fn clone(&self) -> StargazeMsgWrapper
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 Debug for StargazeMsgWrapper
impl Debug for StargazeMsgWrapper
source§impl<'de> Deserialize<'de> for StargazeMsgWrapper
impl<'de> Deserialize<'de> for StargazeMsgWrapper
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 From<StargazeMsgWrapper> for CosmosMsg<StargazeMsgWrapper>
impl From<StargazeMsgWrapper> for CosmosMsg<StargazeMsgWrapper>
source§fn from(original: StargazeMsgWrapper) -> Self
fn from(original: StargazeMsgWrapper) -> Self
Converts to this type from the input type.
source§impl JsonSchema for StargazeMsgWrapper
impl JsonSchema for StargazeMsgWrapper
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 more