Fix clippy: Derive Eq for Subscription

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

View File

@ -14,7 +14,7 @@ pub struct Alerts {
} }
/// Represents a new Push subscription /// Represents a new Push subscription
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
pub struct Subscription { pub struct Subscription {
/// The `id` of the subscription /// The `id` of the subscription
pub id: String, pub id: String,