aboutsummaryrefslogtreecommitdiff
path: root/src/model
diff options
context:
space:
mode:
authoralex <[email protected]>2017-05-12 18:12:21 +0200
committerzeyla <[email protected]>2017-05-12 09:12:21 -0700
commit86a4e008ca7acf23d920e344463df801a774d5ce (patch)
tree88c3eac6f87ca1b6997a04e84f019aa2e1d5c592 /src/model
parentCheck if message starts with dynamic_prefix result (diff)
downloadserenity-86a4e008ca7acf23d920e344463df801a774d5ce.tar.xz
serenity-86a4e008ca7acf23d920e344463df801a774d5ce.zip
Add Eq, PartialEq, Hash to ReactionType derives
Diffstat (limited to 'src/model')
-rw-r--r--src/model/channel/reaction.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/model/channel/reaction.rs b/src/model/channel/reaction.rs
index 1e555ed..9c3618d 100644
--- a/src/model/channel/reaction.rs
+++ b/src/model/channel/reaction.rs
@@ -97,7 +97,7 @@ impl Reaction {
/// The type of a [`Reaction`] sent.
///
/// [`Reaction`]: struct.Reaction.html
-#[derive(Clone, Debug)]
+#[derive(Clone, Debug, Eq, PartialEq, Hash)]
pub enum ReactionType {
/// A reaction with a [`Guild`]s custom [`Emoji`], which is unique to the
/// guild.