Module formats

Source
Expand description

Specify the format and how lenient the deserialization is

Structs§

ColonSeparator
Predefined separator using a single semicolon
CommaSeparator
Predefined separator using a single comma
DosLineSeparator
Predefined separator using a DOS/Windows line ending.
Flexible
Use a flexible deserialization behavior, see Strictness.
Lowercase
Use lowercase characters
Padded
Emit padding during serialization.
PreferMany
Use in combination with OneOrMany. Always emit the list form.
PreferOne
Use in combination with OneOrMany. Emit single element for lists of size 1.
SemicolonSeparator
Predefined separator using a single semicolon
SpaceSeparator
Predefined separator using a single space
Strict
Use strict deserialization behavior, see Strictness.
UnixLineSeparator
Predefined separator using a single linefeed.
Unpadded
Do not emit padding during serialization.
Uppercase
Use uppercase characters

Traits§

Format
Specify how to serialize/deserialize a type
Separator
Separator for string-based collection de/serialization
Strictness
Specify how lenient the deserialization process should be