Module time::format_description
source · Available on crate features
formatting
or parsing
only.Expand description
Description of how types should be formatted and parsed.
The formatted value will be output to the provided writer. Format descriptions can be
well-known or obtained by using the
format_description!
macro or a function listed below.
For examples, see the implementors of Formattable,
e.g. well_known::Rfc3339
.
Modules
- A format item with borrowed data.
- Part of a format description.
- Various modifiers for components.
- A format item with owned data.
- Parser for format descriptions.
- Well-known formats, typically standards.
Enums
- A component of a larger format description.
- A complete description of how to format and parse a type.
- OwnedFormatItem
alloc
A complete description of how to format and parse a type.
Functions
- parse
alloc
Parse a sequence of items from the format description. - parse_borrowed
alloc
Parse a sequence of items from the format description. - parse_owned
alloc
Parse a sequence of items from the format description.