Skip to content

Commit

Permalink
Fix FDT namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
ypo committed Dec 7, 2023
1 parent 3bb9771 commit 14a18a5
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions src/common/fdtinstance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -224,13 +224,15 @@ pub struct FdtInstance {
pub delimiter: Option<u8>,

#[serde(
rename = "Group",
rename = "mbms2005:Group",
alias = "Group",
skip_serializing_if = "Option::is_none"
)]
pub group: Option<Vec<String>>,

#[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<Vec<MBMSSessionIdentityExpiry>>,
Expand Down Expand Up @@ -303,11 +305,16 @@ pub struct File {
#[serde(alias = "delimiter")]
pub delimiter2: Option<u8>,

#[serde(rename = "Group", skip_serializing_if = "Option::is_none")]
#[serde(
rename = "mbms2005:Group",
alias = "Group",
skip_serializing_if = "Option::is_none"
)]
pub group: Option<Vec<String>>,

#[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<Vec<u8>>,
Expand Down

0 comments on commit 14a18a5

Please sign in to comment.