Fix clippy: Derive Eq for AddFilterRequest

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

View File

@ -9,7 +9,7 @@ use std::time::Duration;
/// use mastodon_async::{entities::filter::FilterContext, requests::AddFilterRequest};
/// let request = AddFilterRequest::new("foo", FilterContext::Home);
/// ```
#[derive(Debug, Clone, PartialEq, Serialize)]
#[derive(Debug, Clone, PartialEq, Eq, Serialize)]
pub struct AddFilterRequest {
phrase: String,
context: FilterContext,