Struct cyber_std::msg::CyberMsgWrapper
source · [−]pub struct CyberMsgWrapper {
pub route: CyberRoute,
pub msg_data: CyberMsg,
}
Fields
route: CyberRoute
msg_data: CyberMsg
Trait Implementations
sourceimpl Clone for CyberMsgWrapper
impl Clone for CyberMsgWrapper
sourcefn clone(&self) -> CyberMsgWrapper
fn clone(&self) -> CyberMsgWrapper
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CyberMsgWrapper
impl Debug for CyberMsgWrapper
sourceimpl<'de> Deserialize<'de> for CyberMsgWrapper
impl<'de> Deserialize<'de> for CyberMsgWrapper
sourcefn 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
sourceimpl Into<CosmosMsg<CyberMsgWrapper>> for CyberMsgWrapper
impl Into<CosmosMsg<CyberMsgWrapper>> for CyberMsgWrapper
sourcefn into(self) -> CosmosMsg<CyberMsgWrapper>
fn into(self) -> CosmosMsg<CyberMsgWrapper>
Converts this type into the (usually inferred) input type.
sourceimpl JsonSchema for CyberMsgWrapper
impl JsonSchema for CyberMsgWrapper
sourcefn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
sourcefn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
sourcefn 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
sourceimpl PartialEq<CyberMsgWrapper> for CyberMsgWrapper
impl PartialEq<CyberMsgWrapper> for CyberMsgWrapper
sourcefn eq(&self, other: &CyberMsgWrapper) -> bool
fn eq(&self, other: &CyberMsgWrapper) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourceimpl Serialize for CyberMsgWrapper
impl Serialize for CyberMsgWrapper
impl CustomMsg for CyberMsgWrapper
impl CustomMsg for CyberMsgWrapper
impl StructuralPartialEq for CyberMsgWrapper
Auto Trait Implementations
impl RefUnwindSafe for CyberMsgWrapper
impl Send for CyberMsgWrapper
impl Sync for CyberMsgWrapper
impl Unpin for CyberMsgWrapper
impl UnwindSafe for CyberMsgWrapper
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more