pub struct ComplaintPayload {
pub inbox_id: Option<String>,
pub thread_id: Option<String>,
pub message_id: Option<String>,
pub timestamp: Option<String>,
pub sub_type: Option<String>,
pub recipients: Vec<String>,
}Available on crate feature
websockets only.Expand description
Complaint details, from message.complained.
Fields§
§inbox_id: Option<String>Inbox that sent the message.
thread_id: Option<String>Thread the message is filed under.
message_id: Option<String>The complained-about message.
timestamp: Option<String>When the complaint was recorded (RFC 3339).
sub_type: Option<String>Complaint class reported by the provider.
recipients: Vec<String>Addresses that complained.
Trait Implementations§
Source§impl Clone for ComplaintPayload
impl Clone for ComplaintPayload
Source§impl Debug for ComplaintPayload
impl Debug for ComplaintPayload
Source§impl<'de> Deserialize<'de> for ComplaintPayload
impl<'de> Deserialize<'de> for ComplaintPayload
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 ComplaintPayload
impl RefUnwindSafe for ComplaintPayload
impl Send for ComplaintPayload
impl Sync for ComplaintPayload
impl Unpin for ComplaintPayload
impl UnsafeUnpin for ComplaintPayload
impl UnwindSafe for ComplaintPayload
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