Fix clippy: Derive Eq for NotificationType

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

View File

@ -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.