From 9cec1a73844abeb9231a38361663c0c6e47b5f47 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Tue, 27 Dec 2022 19:04:05 +0100 Subject: [PATCH] Fix clippy: Derive Eq for Data 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 cec6186..d6cd218 100644 --- a/src/entities/push.rs +++ b/src/entities/push.rs @@ -49,7 +49,7 @@ pub(crate) mod add_subscription { pub(crate) auth: String, } - #[derive(Debug, Clone, PartialEq, Serialize, Default)] + #[derive(Debug, Clone, PartialEq, Eq, Serialize, Default)] pub(crate) struct Data { pub(crate) alerts: Option, }