Expand description
The quick_xml
module contains helper types for serializing and deserializing
generated code using the quick_xml
crate.
Re-exports§
pub use self::reader::ErrorReader;
pub use self::reader::IoReader;
pub use self::reader::SliceReader;
pub use self::reader::XmlReader;
pub use self::reader::XmlReaderSync;
Modules§
- Defines and implements different helper traits that are needed for the deserialization process with the
quick_xml
crate.
Structs§
- An XML declaration (
Event::Decl
). - Closing tag data (
Event::End
):</name>
. - Processing instructions (PIs) allow documents to contain instructions for applications.
- Opening tag data (
Event::Start
), with optional attributes:<name attr="value">
. - Data from various events (most notably,
Event::Text
) that stored in XML in escaped form. Internally data is stored in escaped form. - Implements a
Deserializer
for any type that implementsDeserializeBytes
. - Type that is used to bundle the output of a
Deserializer
operation. - Quick XML Error
- A local (unqualified) name of an element or an attribute, i.e. a name without prefix.
- Contains the different errors that occurred when deserializing a union.
- XML writer. Writes XML
Event
s to astd::io::Write
implementor.
Enums§
- Implements a
Serializer
for any type that implementsSerializeBytes
. - Quick XML error kind.
- Event emitted by
Reader::read_event_into
. - Implements a
Serializer
for any type that implements anIterator
that emits references to a type that implementsWithSerializer
. - Result of prefix resolution which creates by
NsReader::resolve_attribute
,NsReader::resolve_element
,NsReader::read_resolved_event
andNsReader::read_resolved_event_into
methods.
Traits§
- Trait that could be implemented by types to support deserialization from XML byte streams using the
quick_xml
crate. - Trait that could be implemented by types to support deserialization from XML using the
quick_xml
crate. - Trait that defines a deserializer that can be used to construct a type from a XML
Event
s. - Trait that could be implemented by types to support serialization to XML byte streams.
- Trait that could be implemented by types to support serialization to XML using the
quick_xml
crate. - Trait that defines a serializer that can be used to destruct a type to suitable XML
Event
s. - Trait that defines the
Deserializer
for a type. - Trait that defines the
Serializer
for a type. - A trait for objects which are byte-oriented sinks.
Type Aliases§
- Result type returned by the
Deserializer
trait.