pub struct DispatchPayload {
pub inbox_id: Option<String>,
pub thread_id: Option<String>,
pub message_id: Option<String>,
pub timestamp: Option<String>,
pub recipients: Vec<String>,
}Available on crate feature
websockets only.Expand description
Send/delivery details, from message.sent and message.delivered.
Fields§
§inbox_id: Option<String>Inbox that sent (or owns) the message.
thread_id: Option<String>Thread the message is filed under.
message_id: Option<String>The message.
timestamp: Option<String>When the send/delivery happened (RFC 3339).
recipients: Vec<String>Addresses the message reached.
Trait Implementations§
Source§impl Clone for DispatchPayload
impl Clone for DispatchPayload
Source§impl Debug for DispatchPayload
impl Debug for DispatchPayload
Source§impl<'de> Deserialize<'de> for DispatchPayload
impl<'de> Deserialize<'de> for DispatchPayload
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 DispatchPayload
impl RefUnwindSafe for DispatchPayload
impl Send for DispatchPayload
impl Sync for DispatchPayload
impl Unpin for DispatchPayload
impl UnsafeUnpin for DispatchPayload
impl UnwindSafe for DispatchPayload
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