From 2ac63466d1b74aa9d9766bade2c9746a5f723059 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Tue, 27 Dec 2022 18:50:12 +0100 Subject: [PATCH] Fix clippy: Derive Eq for NewStatus Signed-off-by: Matthias Beyer --- src/status_builder.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/status_builder.rs b/src/status_builder.rs index 19d72fe..5ae06a0 100644 --- a/src/status_builder.rs +++ b/src/status_builder.rs @@ -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,