Fix clippy: Derive Eq for Relationship

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
Matthias Beyer 2022-12-27 19:00:32 +01:00
parent 6c65b022ff
commit 0ba5ca3599
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@
use serde::{Deserialize, Serialize}; use serde::{Deserialize, Serialize};
/// A struct containing information about a relationship with another account. /// 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 { pub struct Relationship {
/// Target account id /// Target account id
pub id: String, pub id: String,