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.
Re-exportsยง
pub use borrowed_format_item::BorrowedFormatItem;pub use borrowed_format_item::BorrowedFormatItem as FormatItem;๐ปpub use owned_format_item::OwnedFormatItem;allocpub use self::component::Component;pub use self::format_description_v3::FormatDescriptionV3;pub use self::parse::parse;Deprecated allocpub use self::parse::parse_borrowed;allocpub use self::parse::parse_owned;allocpub use self::parse::parse_strftime_borrowed;allocpub use self::parse::parse_strftime_owned;alloc
Modulesยง
- __
private ๐ป - Re-exports of internal types for use in macros.
- borrowed_
format_ ๐item - A format item with borrowed data.
- component ๐
- Part of a format description.
- format_
description_ ๐v3 - A version 3 format description.
- modifier
- Various modifiers for components.
- owned_
format_ ๐item alloc - A format item with owned data.
- parse ๐
alloc - Parser for format descriptions.
- well_
known - Well-known formats, typically standards.
Enumsยง
- Format
Description ๐Version - The version of a format description.
- Period ๐
- Indicate whether the hour is โamโ or โpmโ.
Type Aliasesยง
- Static
Format Description - The type output by the
format_description!macro.