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