Fix clippy: Derive Eq for UpdateSource

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

View File

@ -108,7 +108,7 @@ fn string_or_bool<'de, D: Deserializer<'de>>(val: D) -> ::std::result::Result<bo
}) })
} }
#[derive(Debug, Default, Clone, Serialize, PartialEq)] #[derive(Debug, Default, Clone, Serialize, PartialEq, Eq)]
pub(crate) struct UpdateSource { pub(crate) struct UpdateSource {
#[serde(skip_serializing_if = "Option::is_none")] #[serde(skip_serializing_if = "Option::is_none")]
pub(crate) privacy: Option<status_builder::Visibility>, pub(crate) privacy: Option<status_builder::Visibility>,