From bf9bad441fb3428de30652b95bae2506d0a549b0 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Tue, 27 Dec 2022 19:05:31 +0100 Subject: [PATCH] Fix clippy: Derive Eq for StreamingApi Signed-off-by: Matthias Beyer --- src/entities/instance.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/entities/instance.rs b/src/entities/instance.rs index d520170..ae725ee 100644 --- a/src/entities/instance.rs +++ b/src/entities/instance.rs @@ -32,7 +32,7 @@ pub struct Instance { } /// Object containing url for streaming api. -#[derive(Debug, Clone, Deserialize, Serialize, PartialEq)] +#[derive(Debug, Clone, Deserialize, Serialize, PartialEq, Eq)] pub struct StreamingApi { /// Url for streaming API, typically a `wss://` url. pub streaming_api: String,