Module se

Module se 

Source
Available on crate feature serialize only.
Expand description

Module to handle custom serde Serializer

Re-exports§

pub use crate::errors::serialize::SeError;

Structs§

Serializer
A Serializer.
SimpleTypeSerializer
A serializer for a values representing XSD simple types, which used in:

Enums§

QuoteLevel
Defines which characters would be escaped in Text events and attribute values.
TextFormat
Defines the format for text content serialization
WriteResult
Classification of the type written by the serializer.

Functions§

to_string
Serialize struct into a String.
to_string_with_root
Serialize struct into a String using specified root tag name. root_tag should be valid XML name, otherwise error is returned.
to_utf8_io_writer
Serialize struct into a io::Writer restricted to utf-8 encoding.
to_writer
Serialize struct into a Writer.
to_writer_with_root
Serialize struct into a Writer using specified root tag name. root_tag should be valid XML name, otherwise error is returned.