Skip to content

Commit

Permalink
Derive PartialEq and Eq for DeleteResult
Browse files Browse the repository at this point in the history
Signed-off-by: Joonas Bergius <[email protected]>
  • Loading branch information
joonas authored and connorsmith256 committed Nov 24, 2023
1 parent 79bfee3 commit 7c5f5d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 7c5f5d8

Please sign in to comment.