Fix clippy: Derive Eq for UpdateSource
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
parent
f79c0980c7
commit
fea0a25b9a
|
@ -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>,
|
||||||
|
|
Loading…
Reference in New Issue