#[non_exhaustive]pub struct MessageReactionRemove {
pub user_id: UserId,
pub channel_id: ChannelId,
pub message_id: MessageId,
pub guild_id: Option<GuildId>,
pub emoji: PartialEmoji,
pub burst: bool,
pub kind: ReactionType,
}Expand description
The data of the Message Reaction Remove dispatch event.
discord.js counterpart: the MessageReactionRemove event.
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.user_id: UserIdThe user whose reaction was removed.
channel_id: ChannelIdThe message’s channel.
message_id: MessageIdThe message.
guild_id: Option<GuildId>The message’s guild.
emoji: PartialEmojiThe emoji.
burst: boolWhether this was a super reaction.
kind: ReactionTypeThe kind of reaction.
Trait Implementations§
Source§impl Clone for MessageReactionRemove
impl Clone for MessageReactionRemove
Source§impl Debug for MessageReactionRemove
impl Debug for MessageReactionRemove
Source§impl<'de> Deserialize<'de> for MessageReactionRemove
impl<'de> Deserialize<'de> for MessageReactionRemove
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 MessageReactionRemove
Source§impl PartialEq for MessageReactionRemove
impl PartialEq for MessageReactionRemove
Source§impl Serialize for MessageReactionRemove
impl Serialize for MessageReactionRemove
impl StructuralPartialEq for MessageReactionRemove
Auto Trait Implementations§
impl Freeze for MessageReactionRemove
impl RefUnwindSafe for MessageReactionRemove
impl Send for MessageReactionRemove
impl Sync for MessageReactionRemove
impl Unpin for MessageReactionRemove
impl UnsafeUnpin for MessageReactionRemove
impl UnwindSafe for MessageReactionRemove
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