From be57fb0122c25cafd4b8ce3fc7f671887ea5d18b Mon Sep 17 00:00:00 2001 From: Dominik Csapak Date: Mon, 13 Jan 2025 15:31:59 +0100 Subject: [PATCH] schema: updater: add blanked implementation for PropertyString so that we can have a property: ``` foo: Option>, ``` within a struct that derives `Updater` Signed-off-by: Dominik Csapak --- proxmox-schema/src/schema.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/proxmox-schema/src/schema.rs b/proxmox-schema/src/schema.rs index 60799eaa..fcf71b1c 100644 --- a/proxmox-schema/src/schema.rs +++ b/proxmox-schema/src/schema.rs @@ -1807,6 +1807,10 @@ impl UpdaterType for Vec { type Updater = Option; } +impl UpdaterType for crate::property_string::PropertyString { + type Updater = Option; +} + /// Trait signifying that a type contains an API schema. pub trait ApiType { const API_SCHEMA: Schema;