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