pub struct ReactionCollectEvent {
pub kind: ReactionEventType,
pub channel_id: String,
pub message_id: String,
pub user_id: String,
pub guild_id: Option<String>,
pub emoji: Emoji,
}Expand description
Flattened reaction event passed to ReactionCollector consumers.
Fields§
§kind: ReactionEventType§channel_id: String§message_id: String§user_id: String§guild_id: Option<String>§emoji: EmojiTrait Implementations§
Source§impl Clone for ReactionCollectEvent
impl Clone for ReactionCollectEvent
Source§fn clone(&self) -> ReactionCollectEvent
fn clone(&self) -> ReactionCollectEvent
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 moreAuto Trait Implementations§
impl Freeze for ReactionCollectEvent
impl RefUnwindSafe for ReactionCollectEvent
impl Send for ReactionCollectEvent
impl Sync for ReactionCollectEvent
impl Unpin for ReactionCollectEvent
impl UnsafeUnpin for ReactionCollectEvent
impl UnwindSafe for ReactionCollectEvent
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