pub struct MessageOpenedEvent {
pub event_type: Option<String>,
pub event_id: Option<String>,
pub inbox_id: Option<String>,
pub open: OpenPayload,
}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.
open: OpenPayloadThe event’s payload.
Trait Implementations§
Source§impl Clone for MessageOpenedEvent
impl Clone for MessageOpenedEvent
Source§impl Debug for MessageOpenedEvent
impl Debug for MessageOpenedEvent
Source§impl<'de> Deserialize<'de> for MessageOpenedEvent
impl<'de> Deserialize<'de> for MessageOpenedEvent
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 MessageOpenedEvent
impl RefUnwindSafe for MessageOpenedEvent
impl Send for MessageOpenedEvent
impl Sync for MessageOpenedEvent
impl Unpin for MessageOpenedEvent
impl UnsafeUnpin for MessageOpenedEvent
impl UnwindSafe for MessageOpenedEvent
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