Fix clippy: Derive Eq for Credentials

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

View File

@ -116,7 +116,7 @@ pub(crate) struct UpdateSource {
pub(crate) sensitive: Option<bool>, pub(crate) sensitive: Option<bool>,
} }
#[derive(Debug, Default, Serialize, PartialEq)] #[derive(Debug, Default, Serialize, PartialEq, Eq)]
pub(crate) struct Credentials { pub(crate) struct Credentials {
#[serde(skip_serializing_if = "Option::is_none")] #[serde(skip_serializing_if = "Option::is_none")]
pub(crate) display_name: Option<String>, pub(crate) display_name: Option<String>,