[go: up one dir, main page]

Module xml

Module xml 

Source
Available on crate feature xml only.
Expand description

XML serialization functions.

Modules§

content
Provides helper functions to serialization and deserialization of types (usually enums) as a text content of an element and intended to use with #[serde(with = "...")], #[serde(deserialize_with = "...")] and #[serde(serialize_with = "...")].

Functions§

from_xml
Reads XML from bytes.
to_xml
Serializes a type to bytes.
to_xml_with_root
Serializes a type to bytes with a specified root tag.