fix props deserialization (quick-xml doesn't support untagged enums)

This commit is contained in:
Lennart
2024-11-04 21:10:43 +01:00
parent 2143bc850c
commit ff95d65d44
7 changed files with 13 additions and 13 deletions

View File

@@ -66,11 +66,11 @@ pub enum AddressbookProp {
// Didn't find the spec
Getctag(String),
#[serde(skip_deserializing, untagged)]
#[serde(skip_deserializing, rename = "$value")]
#[from]
ExtCommonProperties(CommonPropertiesProp),
#[serde(untagged)]
#[serde(other)]
#[default]
Invalid,
}