diff options
| author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-09-23 17:17:28 +0200 |
|---|---|---|
| committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-09-23 17:17:28 +0200 |
| commit | 7682da81ff4c775eca048aaf0586593fb159cb85 (patch) | |
| tree | e310245e136b21e15696ffee2756cc6f49f6ae73 /crates/rocie-client/src/models/product_stub.rs | |
| parent | feat(scripts/generate_api_client.sh): Make the API better by configuring the ... (diff) | |
| download | server-7682da81ff4c775eca048aaf0586593fb159cb85.zip | |
chore(crates/rocie-client): Regenerate
Diffstat (limited to 'crates/rocie-client/src/models/product_stub.rs')
| -rw-r--r-- | crates/rocie-client/src/models/product_stub.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/rocie-client/src/models/product_stub.rs b/crates/rocie-client/src/models/product_stub.rs index 3849c18..40c1123 100644 --- a/crates/rocie-client/src/models/product_stub.rs +++ b/crates/rocie-client/src/models/product_stub.rs @@ -17,8 +17,8 @@ pub struct ProductStub { pub description: Option<Option<String>>, #[serde(rename = "name")] pub name: String, - #[serde(rename = "parent", skip_serializing_if = "Option::is_none")] - pub parent: Option<uuid::Uuid>, + #[serde(rename = "parent", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")] + pub parent: Option<Option<models::ProductId>>, } impl ProductStub { |
