Fix clippy: Derive Eq for Source

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

View File

@ -74,7 +74,7 @@ impl MetadataField {
} }
/// An extra object given from `verify_credentials` giving defaults about a user /// An extra object given from `verify_credentials` giving defaults about a user
#[derive(Debug, Clone, Deserialize, Serialize, PartialEq)] #[derive(Debug, Clone, Deserialize, Serialize, PartialEq, Eq)]
pub struct Source { pub struct Source {
privacy: Option<status_builder::Visibility>, privacy: Option<status_builder::Visibility>,
#[serde(deserialize_with = "string_or_bool")] #[serde(deserialize_with = "string_or_bool")]