Fix clippy: Derive Eq for NewStatus

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
Matthias Beyer 2022-12-27 18:50:12 +01:00
parent 1a8524f4fe
commit 2ac63466d1
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -220,7 +220,7 @@ impl StatusBuilder {
}
/// Represents a post that can be sent to the POST /api/v1/status endpoint
#[derive(Debug, Default, Clone, Serialize, PartialEq)]
#[derive(Debug, Default, Clone, Serialize, PartialEq, Eq)]
pub struct NewStatus {
#[serde(skip_serializing_if = "Option::is_none")]
status: Option<String>,