Fix clippy: Derive Eq for Stats

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

View File

@ -39,7 +39,7 @@ pub struct StreamingApi {
}
/// Statistics about the Mastodon instance.
#[derive(Debug, Clone, Copy, Deserialize, Serialize, PartialEq)]
#[derive(Debug, Clone, Copy, Deserialize, Serialize, PartialEq, Eq)]
pub struct Stats {
user_count: u64,
status_count: u64,