diff options
| author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-02-15 22:25:39 +0100 |
|---|---|---|
| committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-02-15 22:25:39 +0100 |
| commit | b467f7202f5c0c3970e39ea396a0cec0fd6a36ee (patch) | |
| tree | aa567f84f0c2891d03de5b6414507c2d9a5f4754 /crates/rocie-client/src/implies.rs | |
| parent | feat(treewide): Add recipes and user handling (diff) | |
| download | server-b467f7202f5c0c3970e39ea396a0cec0fd6a36ee.zip | |
chore(rocie-client): Re-generate the client api
Diffstat (limited to 'crates/rocie-client/src/implies.rs')
| -rw-r--r-- | crates/rocie-client/src/implies.rs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/crates/rocie-client/src/implies.rs b/crates/rocie-client/src/implies.rs index 5957942..4cbe6b3 100644 --- a/crates/rocie-client/src/implies.rs +++ b/crates/rocie-client/src/implies.rs @@ -1,7 +1,7 @@ use std::fmt::Display; use crate::models::{ - BarcodeId, ProductId, ProductParentId, RecipeId, UnitId, UnitPropertyId, UserId, + BarcodeId, ProductId, ProductParentId, RecipeId, RecipeParentId, UnitId, UnitPropertyId, UserId }; // TODO(@bpeetz): The client generator should just do this. <2025-09-23> @@ -54,3 +54,10 @@ impl Display for UserId { } } impl Copy for UserId {} + +impl Display for RecipeParentId { + fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { + self.value.fmt(f) + } +} +impl Copy for RecipeParentId {} |
