Fix clippy: Derive Eq for Alerts

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

View File

@ -1,7 +1,7 @@
use serde::{Deserialize, Serialize};
/// Represents the `alerts` key of the `Subscription` object
#[derive(Debug, Clone, Copy, PartialEq, Serialize, Deserialize, Default)]
#[derive(Debug, Clone, Copy, PartialEq, Eq, Serialize, Deserialize, Default)]
pub struct Alerts {
/// flag for follow alerts
pub follow: Option<bool>,