From 14a18a5e314c73bbda84f2b1b83b371417ab5cca Mon Sep 17 00:00:00 2001 From: Yannick Poirier Date: Thu, 7 Dec 2023 17:13:57 +0100 Subject: [PATCH] Fix FDT namespace --- src/common/fdtinstance.rs | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/src/common/fdtinstance.rs b/src/common/fdtinstance.rs index 5d5023d..5d748a0 100644 --- a/src/common/fdtinstance.rs +++ b/src/common/fdtinstance.rs @@ -224,13 +224,15 @@ pub struct FdtInstance { pub delimiter: Option, #[serde( - rename = "Group", + rename = "mbms2005:Group", + alias = "Group", skip_serializing_if = "Option::is_none" )] pub group: Option>, #[serde( - rename = "MBMS-Session-Identity-Expiry", + rename = "mbms2005:MBMS-Session-Identity-Expiry", + alias = "MBMS-Session-Identity-Expiry", skip_serializing_if = "Option::is_none" )] pub mbms_session_identity_expiry: Option>, @@ -303,11 +305,16 @@ pub struct File { #[serde(alias = "delimiter")] pub delimiter2: Option, - #[serde(rename = "Group", skip_serializing_if = "Option::is_none")] + #[serde( + rename = "mbms2005:Group", + alias = "Group", + skip_serializing_if = "Option::is_none" + )] pub group: Option>, #[serde( - rename = "MBMS-Session-Identity", + rename = "mbms2005:MBMS-Session-Identity", + alias = "MBMS-Session-Identity", skip_serializing_if = "Option::is_none" )] pub mbms_session_identity: Option>,