Fix clippy: Derive Eq for StreamingApi

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

View File

@ -32,7 +32,7 @@ pub struct Instance {
} }
/// Object containing url for streaming api. /// Object containing url for streaming api.
#[derive(Debug, Clone, Deserialize, Serialize, PartialEq)] #[derive(Debug, Clone, Deserialize, Serialize, PartialEq, Eq)]
pub struct StreamingApi { pub struct StreamingApi {
/// Url for streaming API, typically a `wss://` url. /// Url for streaming API, typically a `wss://` url.
pub streaming_api: String, pub streaming_api: String,