From ee4e00affdb8d3d1cc5014058839b767a975cfe4 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Tue, 27 Dec 2022 19:07:49 +0100 Subject: [PATCH] Fix clippy: Derive Eq for Filter Signed-off-by: Matthias Beyer --- src/entities/filter.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/entities/filter.rs b/src/entities/filter.rs index c32481e..30a62f2 100644 --- a/src/entities/filter.rs +++ b/src/entities/filter.rs @@ -1,7 +1,7 @@ use serde::{Deserialize, Serialize}; /// Represents a single Filter -#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] +#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] pub struct Filter { id: String, phrase: String,