From a383625210be707b9295456296109716bf938f53 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Tue, 27 Dec 2022 18:56:42 +0100 Subject: [PATCH] Fix clippy: Derive Eq for Credentials Signed-off-by: Matthias Beyer --- src/entities/account.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/entities/account.rs b/src/entities/account.rs index e0404f7..d66f4ed 100644 --- a/src/entities/account.rs +++ b/src/entities/account.rs @@ -116,7 +116,7 @@ pub(crate) struct UpdateSource { pub(crate) sensitive: Option, } -#[derive(Debug, Default, Serialize, PartialEq)] +#[derive(Debug, Default, Serialize, PartialEq, Eq)] pub(crate) struct Credentials { #[serde(skip_serializing_if = "Option::is_none")] pub(crate) display_name: Option,