Module simple_type

Module simple_type 

Source
Expand description

Contains Serde Deserializer for XML simple types as defined in the XML Schema.

Macrosยง

deserialize_num ๐Ÿ”’
unsupported ๐Ÿ”’

Structsยง

AtomicDeserializer ๐Ÿ”’
A deserializer that handles ordinary simple type definition with {variety} = atomic, or an ordinary simple type definition with {variety} = union whose basic members are all atomic.
ListIter ๐Ÿ”’
Iterator over string sub-slices delimited by one or several spaces. Contains decoded value of the simpleType. Iteration ends when list contains None.
SimpleTypeDeserializer
A deserializer for an xml probably escaped and encoded value of XSD simple types. This deserializer will borrow from the input as much as possible.
UnitOnly
Deserializer of variant data, that supports only unit variants. Attempt to deserialize newtype will provide UnitDeserializer. Attempt to deserialize tuple or struct variant will result to call of Visitor::visit_unit.

Enumsยง

Content ๐Ÿ”’
A version of Cow that can borrow from two different buffers, one of them is a deserializer input, and conceptually contains only part of owned data.