pub struct UserMessageBody {
pub message_type: String,
pub payload: Value,
}Fields§
§message_type: String§payload: ValueTrait Implementations§
Source§impl Clone for UserMessageBody
impl Clone for UserMessageBody
Source§fn clone(&self) -> UserMessageBody
fn clone(&self) -> UserMessageBody
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UserMessageBody
impl Debug for UserMessageBody
Source§impl<'de> Deserialize<'de> for UserMessageBody
impl<'de> Deserialize<'de> for UserMessageBody
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 PartialEq for UserMessageBody
impl PartialEq for UserMessageBody
Source§impl Serialize for UserMessageBody
impl Serialize for UserMessageBody
impl StructuralPartialEq for UserMessageBody
Auto Trait Implementations§
impl Freeze for UserMessageBody
impl RefUnwindSafe for UserMessageBody
impl Send for UserMessageBody
impl Sync for UserMessageBody
impl Unpin for UserMessageBody
impl UnsafeUnpin for UserMessageBody
impl UnwindSafe for UserMessageBody
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