From 8ee0de9a6f4964458a21234b91dde163d679e867 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Tue, 27 Dec 2022 19:03:11 +0100 Subject: [PATCH] Fix clippy: Derive Eq for Alerts Signed-off-by: Matthias Beyer --- src/entities/push.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/entities/push.rs b/src/entities/push.rs index 5576b7d..0a63f77 100644 --- a/src/entities/push.rs +++ b/src/entities/push.rs @@ -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,