pub struct MessageSentEvent {
pub event_type: Option<String>,
pub event_id: Option<String>,
pub inbox_id: Option<String>,
pub send: DispatchPayload,
}Available on crate feature
websockets only.Expand description
A decoded event frame; see the module docs for the protocol.
Fields§
§event_type: Option<String>The event type on the wire (e.g. message.sent).
event_id: Option<String>Server-issued event id.
inbox_id: Option<String>Inbox the event concerns, when scoped to one.
send: DispatchPayloadThe event’s payload.
Trait Implementations§
Source§impl Clone for MessageSentEvent
impl Clone for MessageSentEvent
Source§impl Debug for MessageSentEvent
impl Debug for MessageSentEvent
Source§impl<'de> Deserialize<'de> for MessageSentEvent
impl<'de> Deserialize<'de> for MessageSentEvent
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 MessageSentEvent
impl RefUnwindSafe for MessageSentEvent
impl Send for MessageSentEvent
impl Sync for MessageSentEvent
impl Unpin for MessageSentEvent
impl UnsafeUnpin for MessageSentEvent
impl UnwindSafe for MessageSentEvent
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