diff options
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 {} |
