From bb31b91933f566b48092363c4fd60248eddf8eb0 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Tue, 27 Dec 2022 19:03:24 +0100 Subject: [PATCH] Fix clippy: Derive Eq for Subscription 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 0a63f77..da6a0c2 100644 --- a/src/entities/push.rs +++ b/src/entities/push.rs @@ -14,7 +14,7 @@ pub struct Alerts { } /// Represents a new Push subscription -#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] +#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] pub struct Subscription { /// The `id` of the subscription pub id: String,