Fix: Notification type is not able to derive Eq

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
Matthias Beyer 2022-12-27 19:01:42 +01:00
parent 998c477818
commit adac287450
No known key found for this signature in database
1 changed files with 1 additions and 0 deletions

View File

@ -5,6 +5,7 @@ use chrono::prelude::*;
use serde::{Deserialize, Serialize}; use serde::{Deserialize, Serialize};
/// A struct containing info about a notification. /// A struct containing info about a notification.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Debug, Clone, Deserialize, Serialize, PartialEq)] #[derive(Debug, Clone, Deserialize, Serialize, PartialEq)]
pub struct Notification { pub struct Notification {
/// The notification ID. /// The notification ID.