aboutsummaryrefslogtreecommitdiff
path: root/src/model
diff options
context:
space:
mode:
Diffstat (limited to 'src/model')
-rw-r--r--src/model/misc.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/model/misc.rs b/src/model/misc.rs
index 4da3c01..3ac8f47 100644
--- a/src/model/misc.rs
+++ b/src/model/misc.rs
@@ -123,7 +123,7 @@ impl FromStr for RoleId {
}
/// A version of an emoji used only when solely the Id and name are known.
-#[derive(Clone, Debug)]
+#[derive(Clone, Debug, Eq, Hash, PartialEq, PartialOrd, Ord)]
pub struct EmojiIdentifier {
/// The Id of the emoji.
pub id: EmojiId,