Crate facet_xml

Crate facet_xml 

Source
Expand description

XML parser that implements FormatParser for the codex prototype.

This uses quick-xml for the underlying XML parsing and translates its events into the format-agnostic ParseEvent stream.

Structs§

SerializeOptions
Options for XML serialization.
XmlParser
XmlSerializeError
XmlSerializer
XML serializer with configurable output options.

Enums§

Attr
XML attribute types for field and container configuration.
DeserializeError
Error produced by FormatDeserializer.
XmlError

Functions§

from_slice
Deserialize a value from XML bytes into an owned type.
from_slice_borrowed
Deserialize a value from XML bytes, allowing zero-copy borrowing.
from_str
Deserialize a value from an XML string into an owned type.
from_str_borrowed
Deserialize a value from an XML string, allowing zero-copy borrowing.
to_string
Serialize a value to an XML string with default options.
to_string_pretty
Serialize a value to a pretty-printed XML string with default indentation.
to_string_with_options
Serialize a value to an XML string with custom options.
to_vec
Serialize a value to XML bytes with default options.
to_vec_with_options
Serialize a value to XML bytes with custom options.

Type Aliases§

FloatFormatter
A function that formats a floating-point number to a writer.