pub struct RejectPayload {
pub inbox_id: Option<String>,
pub thread_id: Option<String>,
pub message_id: Option<String>,
pub timestamp: Option<String>,
pub reason: Option<String>,
}Available on crate feature
websockets only.Expand description
Rejection details, from message.rejected.
Fields§
§inbox_id: Option<String>Inbox that tried to send the message.
thread_id: Option<String>Thread the message would have been filed under.
message_id: Option<String>The rejected message.
timestamp: Option<String>When the rejection happened (RFC 3339).
reason: Option<String>Why the message was rejected.
Trait Implementations§
Source§impl Clone for RejectPayload
impl Clone for RejectPayload
Source§impl Debug for RejectPayload
impl Debug for RejectPayload
Source§impl<'de> Deserialize<'de> for RejectPayload
impl<'de> Deserialize<'de> for RejectPayload
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 RejectPayload
impl RefUnwindSafe for RejectPayload
impl Send for RejectPayload
impl Sync for RejectPayload
impl Unpin for RejectPayload
impl UnsafeUnpin for RejectPayload
impl UnwindSafe for RejectPayload
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