#[non_exhaustive]pub struct SendChatMessageResponse {
pub message_id: Option<MsgId>,
pub is_sent: bool,
pub drop_reason: Option<ChatMessageDropReason>,
}
Available on crate feature
helix
only.Expand description
Return Values for Send Chat message
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.message_id: Option<MsgId>
The message id for the message that was sent.
is_sent: bool
If the message passed all checks and was sent.
drop_reason: Option<ChatMessageDropReason>
The reason the message was dropped, if any.
Trait Implementations§
Source§impl Clone for SendChatMessageResponse
impl Clone for SendChatMessageResponse
Source§fn clone(&self) -> SendChatMessageResponse
fn clone(&self) -> SendChatMessageResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SendChatMessageResponse
impl Debug for SendChatMessageResponse
Source§impl<'de> Deserialize<'de> for SendChatMessageResponse
impl<'de> Deserialize<'de> for SendChatMessageResponse
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
Source§impl PartialEq for SendChatMessageResponse
impl PartialEq for SendChatMessageResponse
Source§impl Serialize for SendChatMessageResponse
impl Serialize for SendChatMessageResponse
impl Eq for SendChatMessageResponse
impl StructuralPartialEq for SendChatMessageResponse
Auto Trait Implementations§
impl Freeze for SendChatMessageResponse
impl RefUnwindSafe for SendChatMessageResponse
impl Send for SendChatMessageResponse
impl Sync for SendChatMessageResponse
impl Unpin for SendChatMessageResponse
impl UnwindSafe for SendChatMessageResponse
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