From 8572585774fc35afce94896ced0c8e466613dd18 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Tue, 27 Dec 2022 18:53:09 +0100 Subject: [PATCH] Fix clippy: Derive Eq for MetadataField 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 002eb40..e56b3b0 100644 --- a/src/entities/account.rs +++ b/src/entities/account.rs @@ -56,7 +56,7 @@ pub struct Account { } /// A single name: value pair from a user's profile -#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Default)] +#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq, Default)] pub struct MetadataField { /// name part of metadata pub name: String,