Enum rsiot_messages_core::MsgData
source · pub enum MsgData<TCustom> {
System(System),
Custom(TCustom),
}
Variants§
Trait Implementations§
source§impl<'de, TCustom> Deserialize<'de> for MsgData<TCustom>where
TCustom: Deserialize<'de>,
impl<'de, TCustom> Deserialize<'de> for MsgData<TCustom>where
TCustom: 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<TCustom: PartialEq> PartialEq for MsgData<TCustom>
impl<TCustom: PartialEq> PartialEq for MsgData<TCustom>
impl<TCustom> StructuralPartialEq for MsgData<TCustom>
Auto Trait Implementations§
impl<TCustom> RefUnwindSafe for MsgData<TCustom>where
TCustom: RefUnwindSafe,
impl<TCustom> Send for MsgData<TCustom>where
TCustom: Send,
impl<TCustom> Sync for MsgData<TCustom>where
TCustom: Sync,
impl<TCustom> Unpin for MsgData<TCustom>where
TCustom: Unpin,
impl<TCustom> UnwindSafe for MsgData<TCustom>where
TCustom: 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