mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-14 08:12:24 +00:00
xml: Also implement unit variants
This commit is contained in:
@@ -22,6 +22,7 @@ pub struct VariantAttrs {
|
||||
#[darling(attributes(xml))]
|
||||
pub struct EnumAttrs {
|
||||
pub untagged: Flag,
|
||||
pub unit_variants_name: Option<String>,
|
||||
}
|
||||
|
||||
#[derive(Default, FromDeriveInput, Clone)]
|
||||
|
||||
Reference in New Issue
Block a user