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.
- Simple
Type Serializer - A serializer for a values representing XSD simple types, which used in:
Enums§
- Quote
Level - Defines which characters would be escaped in
Text
events and attribute values. - Write
Result - 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::Write
r restricted to utf-8 encoding. - to_
writer - Serialize struct into a
Write
r. - to_
writer_ with_ root - Serialize struct into a
Write
r using specified root tag name.root_tag
should be valid XML name, otherwise error is returned.