From 7c5f5d82591095e64c5c704007936c02c39879c6 Mon Sep 17 00:00:00 2001 From: Joonas Bergius Date: Wed, 22 Nov 2023 21:54:01 -0600 Subject: [PATCH] Derive PartialEq and Eq for DeleteResult Signed-off-by: Joonas Bergius --- src/server/types.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/types.rs b/src/server/types.rs index c6e34061..32fd16b6 100644 --- a/src/server/types.rs +++ b/src/server/types.rs @@ -98,7 +98,7 @@ pub struct DeleteModelResponse { } /// All possible outcomes of a delete operation -#[derive(Debug, Serialize, Deserialize)] +#[derive(Debug, Serialize, Deserialize, PartialEq, Eq)] #[serde(rename_all = "lowercase")] pub enum DeleteResult { Deleted,