Struct serenity::model::channel::MessageReaction
[−]
[src]
pub struct MessageReaction { pub count: u64, pub me: bool, pub reaction_type: ReactionType, }
A representation of a reaction to a message.
Multiple of the same reaction type are sent into one MessageReaction
,
with an associated count
.
Fields
count: u64
The amount of the type of reaction that have been sent for the associated message.
me: bool
Indicator of whether the current user has sent the type of reaction.
reaction_type: ReactionType
The type of reaction.
Trait Implementations
impl Clone for MessageReaction
[src]
fn clone(&self) -> MessageReaction
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more