Expand description
Specify the format and how lenient the deserialization is
Structs§
- Colon
Separator - Predefined separator using a single semicolon
- Comma
Separator - Predefined separator using a single comma
- DosLine
Separator - 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.
- Prefer
Many - Use in combination with
OneOrMany
. Always emit the list form. - Prefer
One - Use in combination with
OneOrMany
. Emit single element for lists of size 1. - Semicolon
Separator - Predefined separator using a single semicolon
- Space
Separator - Predefined separator using a single space
- Strict
- Use strict deserialization behavior, see
Strictness
. - Unix
Line Separator - 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