forked from proxmox-mirrors/proxmox
schema: updater: add blanked implementation for PropertyString
so that we can have a property: ``` foo: Option<PropertyString<Bar>>, ``` within a struct that derives `Updater` Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
8c5fa1c562
commit
be57fb0122
@ -1807,6 +1807,10 @@ impl<T> UpdaterType for Vec<T> {
|
||||
type Updater = Option<Self>;
|
||||
}
|
||||
|
||||
impl<T> UpdaterType for crate::property_string::PropertyString<T> {
|
||||
type Updater = Option<Self>;
|
||||
}
|
||||
|
||||
/// Trait signifying that a type contains an API schema.
|
||||
pub trait ApiType {
|
||||
const API_SCHEMA: Schema;
|
||||
|
Loading…
Reference in New Issue
Block a user