From e5f90f4474cb96a78080395980283e4b2ce40214 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sun, 15 Feb 2026 22:24:32 +0100 Subject: feat(treewide): Add recipes and user handling --- crates/rocie-server/src/storage/sql/unit.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/rocie-server/src/storage/sql/unit.rs') diff --git a/crates/rocie-server/src/storage/sql/unit.rs b/crates/rocie-server/src/storage/sql/unit.rs index 8bbfe60..dc16e4c 100644 --- a/crates/rocie-server/src/storage/sql/unit.rs +++ b/crates/rocie-server/src/storage/sql/unit.rs @@ -41,7 +41,7 @@ pub(crate) struct Unit { pub(crate) unit_property: UnitPropertyId, } -#[derive(ToSchema, Debug, Clone, Copy, Serialize, Deserialize)] +#[derive(ToSchema, Debug, Clone, Copy, Serialize, Deserialize, PartialEq)] pub(crate) struct UnitAmount { #[schema(minimum = 0)] pub(crate) value: u32, -- cgit 1.4.1