mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-18 06:29:22 +00:00
xml serialize: Support flatten and Option<T>
This commit is contained in:
@@ -121,8 +121,8 @@ impl Enum {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
fn attributes<'a>(&self) -> Vec<::quick_xml::events::attributes::Attribute<'a>> {
|
||||
vec![]
|
||||
fn attributes<'a>(&self) -> Option<Vec<::quick_xml::events::attributes::Attribute<'a>>> {
|
||||
None
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user