Fix: Notification type is not able to derive Eq
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
parent
998c477818
commit
adac287450
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue