mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-14 01:12:24 +00:00
xml: Custom serializers
This commit is contained in:
@@ -59,6 +59,7 @@ pub struct FieldAttrs {
|
||||
pub common: TagAttrs,
|
||||
pub flatten: Flag,
|
||||
pub default: Option<syn::ExprPath>,
|
||||
pub serialize_with: Option<syn::ExprPath>,
|
||||
#[darling(default, rename = "ty")]
|
||||
pub xml_ty: FieldType,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user