From 7682da81ff4c775eca048aaf0586593fb159cb85 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Tue, 23 Sep 2025 17:17:28 +0200 Subject: chore(crates/rocie-client): Regenerate --- crates/rocie-client/src/models/product.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crates/rocie-client/src/models/product.rs') diff --git a/crates/rocie-client/src/models/product.rs b/crates/rocie-client/src/models/product.rs index acdc6c6..8fe68ee 100644 --- a/crates/rocie-client/src/models/product.rs +++ b/crates/rocie-client/src/models/product.rs @@ -18,13 +18,13 @@ pub struct Product { #[serde(rename = "description", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")] pub description: Option>, #[serde(rename = "id")] - pub id: uuid::Uuid, + pub id: models::ProductId, #[serde(rename = "name")] pub name: String, } impl Product { - pub fn new(associated_bar_codes: Vec, id: uuid::Uuid, name: String) -> Product { + pub fn new(associated_bar_codes: Vec, id: models::ProductId, name: String) -> Product { Product { associated_bar_codes, description: None, -- cgit 1.4.1