pub struct WsSendMessagePayload {
pub message_id: String,
pub recipient: String,
pub body: String,
}Expand description
The message object inside a sendMessage event.
Fields§
§message_id: String§recipient: String§body: StringTrait Implementations§
Source§impl Clone for WsSendMessagePayload
impl Clone for WsSendMessagePayload
Source§fn clone(&self) -> WsSendMessagePayload
fn clone(&self) -> WsSendMessagePayload
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 WsSendMessagePayload
impl Debug for WsSendMessagePayload
Source§impl<'de> Deserialize<'de> for WsSendMessagePayload
impl<'de> Deserialize<'de> for WsSendMessagePayload
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
Auto Trait Implementations§
impl Freeze for WsSendMessagePayload
impl RefUnwindSafe for WsSendMessagePayload
impl Send for WsSendMessagePayload
impl Sync for WsSendMessagePayload
impl Unpin for WsSendMessagePayload
impl UnsafeUnpin for WsSendMessagePayload
impl UnwindSafe for WsSendMessagePayload
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