Expand description
Scaffolding traits and types for the datetime crate.
Items in this module are mostly for trait bounds. Most users should not need to reference these items in userland code.
Structs§
- Data
Payload With Variables - An implementation of
MaybePayload
that wraps an optionalDataPayload
, parameterized byVariables
. - Data
Payload With Variables Borrowed - Borrowed version of
DataPayloadWithVariables
.
Enums§
- Full
Data CalMarkers - Implementation of
CalMarkers
that includes data for all calendars. - Maybe
Payload Error - An error returned by
MaybePayload
. - NoData
CalMarkers - Implementation of
CalMarkers
that includes data for no calendars.
Traits§
- AllAny
Calendar External Data Markers - Trait to consolidate data provider markers external to this crate for datetime formatting with any calendar.
- AllAny
Calendar Formatting Data Markers - Trait to consolidate data provider markers defined by this crate for datetime formatting with any calendar.
- AllAny
Calendar Pattern Data Markers - Trait to consolidate data provider markers defined by this crate for datetime skeleton patterns with any calendar.
- AllFixed
Calendar External Data Markers - Trait to consolidate data provider markers external to this crate for datetime formatting with a fixed calendar.
- AllFixed
Calendar Formatting Data Markers - Trait to consolidate data provider markers defined by this crate for datetime formatting with a fixed calendar.
- AllFixed
Calendar Pattern Data Markers - Trait to consolidate data provider markers defined by this crate for datetime skeleton patterns with a fixed calendar.
- AllInput
Markers - Trait implemented on formattable datetime types.
- CalMarkers
- A collection of marker types associated with all formattable calendars.
- Cldr
Calendar - A calendar that can be found in CLDR.
- Convert
Calendar - A type that can be converted into a specific calendar system.
- Date
Data Markers - A trait associating types for date formatting in any calendar (data markers only).
- Date
Input Markers - A trait associating types for date formatting in any calendar (input types only).
- Date
Time Markers - A trait associating constants and types implementing various other traits required for datetime formatting.
- Date
Time Names From - A trait for a
DateTimeNamesMarker
that can be created from a more specific one,M
. - Date
Time Names Marker - Trait for a type that owns datetime names data, usually in the form of data payloads.
- GetField
- A type that can return a certain field
T
. - InFixed
Calendar - An input associated with a fixed, static calendar.
- InSame
Calendar - An input that may be associated with a specific runtime calendar.
- Into
Formattable AnyCalendar - A calendar type that is supported by
DateTimeFormatter
. - Maybe
Payload - A type that may or may not be a
DataPayload
and may or may not contain a value depending on the type parameterVariables
. - Names
Container - Trait that associates a container for a payload parameterized by the given variables.
- Time
Markers - A trait associating types for time formatting (input types and data markers).
- Typed
Date Data Markers - A trait associating types for date formatting in a specific calendar (data markers only).
- Unstable
Sealed - Trait marking other traits that are considered unstable and should not generally be implemented outside of the datetime crate.
- Zone
Markers - A trait associating types for time zone formatting (input types and data markers).