Fix clippy: Derive Eq for Filter

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
Matthias Beyer 2022-12-27 19:07:49 +01:00
parent 609ddc895b
commit ee4e00affd
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
use serde::{Deserialize, Serialize}; use serde::{Deserialize, Serialize};
/// Represents a single Filter /// Represents a single Filter
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
pub struct Filter { pub struct Filter {
id: String, id: String,
phrase: String, phrase: String,