#[non_exhaustive]pub struct Reply {
pub parent_message_id: MsgId,
pub parent_message_body: String,
pub parent_user_id: UserId,
pub parent_user_name: DisplayName,
pub parent_user_login: UserName,
pub thread_message_id: MsgId,
pub thread_user_id: UserId,
pub thread_user_name: DisplayName,
pub thread_user_login: UserName,
}
Available on crate feature
eventsub
only.Expand description
Metadata for reply messages
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.parent_message_id: MsgId
An ID that uniquely identifies the parent message that this message is replying to.
parent_message_body: String
The message body of the parent message.
parent_user_id: UserId
User ID of the sender of the parent message.
parent_user_name: DisplayName
User name of the sender of the parent message.
parent_user_login: UserName
User login of the sender of the parent message.
thread_message_id: MsgId
An ID that identifies the parent message of the reply thread.
thread_user_id: UserId
User ID of the sender of the thread’s parent message.
thread_user_name: DisplayName
User name of the sender of the thread’s parent message.
thread_user_login: UserName
User login of the sender of the thread’s parent message.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Reply
impl<'de> Deserialize<'de> for Reply
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
impl Eq for Reply
impl StructuralPartialEq for Reply
Auto Trait Implementations§
impl Freeze for Reply
impl RefUnwindSafe for Reply
impl Send for Reply
impl Sync for Reply
impl Unpin for Reply
impl UnwindSafe for Reply
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