From adac2874502bb9abfcbfa2f4f7529f7b4399c03b Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Tue, 27 Dec 2022 19:01:42 +0100 Subject: [PATCH] Fix: Notification type is not able to derive Eq Signed-off-by: Matthias Beyer --- src/entities/notification.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/entities/notification.rs b/src/entities/notification.rs index 3af9f50..e3ede9f 100644 --- a/src/entities/notification.rs +++ b/src/entities/notification.rs @@ -5,6 +5,7 @@ use chrono::prelude::*; use serde::{Deserialize, Serialize}; /// A struct containing info about a notification. +#[allow(clippy::derive_partial_eq_without_eq)] #[derive(Debug, Clone, Deserialize, Serialize, PartialEq)] pub struct Notification { /// The notification ID.