From 86a4e008ca7acf23d920e344463df801a774d5ce Mon Sep 17 00:00:00 2001 From: alex Date: Fri, 12 May 2017 18:12:21 +0200 Subject: Add Eq, PartialEq, Hash to ReactionType derives --- src/model/channel/reaction.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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. -- cgit v1.2.3