From a479685602347b473d74f99f492e5e85d7afde94 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Fri, 28 Nov 2025 16:35:35 +0100 Subject: chore(crates/rocie-client): Re-generate --- crates/rocie-client/src/implies.rs | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'crates/rocie-client/src/implies.rs') diff --git a/crates/rocie-client/src/implies.rs b/crates/rocie-client/src/implies.rs index 382b8ca..e9de0ea 100644 --- a/crates/rocie-client/src/implies.rs +++ b/crates/rocie-client/src/implies.rs @@ -1,6 +1,6 @@ use std::fmt::Display; -use crate::models::{BarcodeId, ProductId, UnitId, UnitPropertyId}; +use crate::models::{BarcodeId, ProductId, ProductParentId, RecipeId, UnitId, UnitPropertyId}; // TODO(@bpeetz): The client generator should just do this. <2025-09-23> @@ -31,3 +31,17 @@ impl Display for UnitPropertyId { } } impl Copy for UnitPropertyId {} + +impl Display for ProductParentId { + fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { + self.value.fmt(f) + } +} +impl Copy for ProductParentId {} + +impl Display for RecipeId { + fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { + self.value.fmt(f) + } +} +impl Copy for RecipeId {} -- cgit 1.4.1