diff --git a/src/entities/notification.rs b/src/entities/notification.rs index a9ad95a..3af9f50 100644 --- a/src/entities/notification.rs +++ b/src/entities/notification.rs @@ -21,7 +21,7 @@ pub struct Notification { } /// The type of notification. -#[derive(Debug, Clone, Copy, Deserialize, Serialize, PartialEq)] +#[derive(Debug, Clone, Copy, Deserialize, Serialize, PartialEq, Eq)] #[serde(rename_all = "lowercase")] pub enum NotificationType { /// Someone mentioned the application client in another status.