Fix clippy: Derive Eq for Source
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
parent
8572585774
commit
bc144c5a65
|
@ -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")]
|
||||||
|
|
Loading…
Reference in New Issue