From 4cadd9b937819ab7d7942fdf72cbaf83c342c594 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Tue, 27 Dec 2022 19:04:11 +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 d6cd218..227ba2e 100644 --- a/src/entities/push.rs +++ b/src/entities/push.rs @@ -60,7 +60,7 @@ pub(crate) mod update_data { use super::Alerts; - #[derive(Debug, Clone, PartialEq, Serialize, Default)] + #[derive(Debug, Clone, PartialEq, Eq, Serialize, Default)] pub(crate) struct Data { pub(crate) alerts: Option, }