Expand description
Traits and helper structs to serialize XML
To implement serializing for your data types (mapping to XML elements) you need to implement
FixedElement or Element.
If your data type represents multiple elements you need to implement Inner.
To implement serialize adaptors for an XML library you need to implement Serializer.
Structs§
- Value
Default - Implements
Valuefor all types implementingstd::fmt::Display; this is a good default. - Value
String - Implements
Valuefor all types implementingAsRef<str>.
Traits§
- Element
- Element that can be serialized.
- Fixed
Element - Serializable element with a fixed tag.
- Inner
- Convenience interface to serialize collections of elements
- Serializer
- Interface to serialize an element.
- Value
- Trait to serialize attributes and inner text