From 6c65b022ffa133e40f6f7eac318f1d976ded5b85 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Tue, 27 Dec 2022 19:00:10 +0100 Subject: [PATCH] Fix clippy: Derive Eq for Report Signed-off-by: Matthias Beyer --- src/entities/report.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/entities/report.rs b/src/entities/report.rs index 6d3d846..bc4c7ea 100644 --- a/src/entities/report.rs +++ b/src/entities/report.rs @@ -3,7 +3,7 @@ use serde::{Deserialize, Serialize}; /// A struct containing info about a report. -#[derive(Debug, Clone, Serialize, Deserialize, PartialEq)] +#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq)] pub struct Report { /// The ID of the report. pub id: String,