From 0ba5ca3599f3a58891fe8b45068acc18fba14a71 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Tue, 27 Dec 2022 19:00:32 +0100 Subject: [PATCH] Fix clippy: Derive Eq for Relationship Signed-off-by: Matthias Beyer --- src/entities/relationship.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/entities/relationship.rs b/src/entities/relationship.rs index e871bfe..44f89b3 100644 --- a/src/entities/relationship.rs +++ b/src/entities/relationship.rs @@ -4,7 +4,7 @@ use serde::{Deserialize, Serialize}; /// A struct containing information about a relationship with another account. -#[derive(Debug, Clone, Serialize, Deserialize, PartialEq)] +#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq)] pub struct Relationship { /// Target account id pub id: String,