icu_datetime::scaffold

Trait ZoneMarkers

Source
pub trait ZoneMarkers: UnstableSealed {
Show 15 associated items type TimeZoneIdInput: IntoOption<TimeZone>; type TimeZoneOffsetInput: IntoOption<UtcOffset>; type TimeZoneVariantInput: IntoOption<TimeZoneVariant>; type TimeZoneLocalTimeInput: IntoOption<(Date<Iso>, Time)>; type EssentialsV1: DataMarker<DataStruct = TimeZoneEssentials<'static>>; type LocationsV1: DataMarker<DataStruct = Locations<'static>>; type LocationsRootV1: DataMarker<DataStruct = Locations<'static>>; type ExemplarCitiesV1: DataMarker<DataStruct = ExemplarCities<'static>>; type ExemplarCitiesRootV1: DataMarker<DataStruct = ExemplarCities<'static>>; type GenericLongV1: DataMarker<DataStruct = MetazoneGenericNames<'static>>; type GenericShortV1: DataMarker<DataStruct = MetazoneGenericNames<'static>>; type StandardLongV1: DataMarker<DataStruct = MetazoneGenericNames<'static>>; type SpecificLongV1: DataMarker<DataStruct = MetazoneSpecificNames<'static>>; type SpecificShortV1: DataMarker<DataStruct = MetazoneSpecificNames<'static>>; type MetazonePeriodV1: DataMarker<DataStruct = MetazonePeriod<'static>>;
}
Expand description

A trait associating types for time zone formatting (input types and data markers).

This is a sealed trait implemented on field set markers.

🚧 This trait is considered unstable; it may change at any time, in breaking or non-breaking ways, including in SemVer minor releases. Do not implement this trait in userland unless you are prepared for things to occasionally break.

Required Associated Types§

Source

type TimeZoneIdInput: IntoOption<TimeZone>

Marker for resolving the time zone id input field.

Source

type TimeZoneOffsetInput: IntoOption<UtcOffset>

Marker for resolving the time zone offset input field.

Source

type TimeZoneVariantInput: IntoOption<TimeZoneVariant>

Marker for resolving the time zone variant input field.

Source

type TimeZoneLocalTimeInput: IntoOption<(Date<Iso>, Time)>

Marker for resolving the time zone non-location display names, which depend on the datetime.

Source

type EssentialsV1: DataMarker<DataStruct = TimeZoneEssentials<'static>>

Marker for loading core time zone data.

Source

type LocationsV1: DataMarker<DataStruct = Locations<'static>>

Marker for loading location names for time zone formatting

Source

type LocationsRootV1: DataMarker<DataStruct = Locations<'static>>

Marker for loading location names for time zone formatting

Source

type ExemplarCitiesV1: DataMarker<DataStruct = ExemplarCities<'static>>

Marker for loading exemplar city names for time zone formatting

Source

type ExemplarCitiesRootV1: DataMarker<DataStruct = ExemplarCities<'static>>

Marker for loading exemplar city names for time zone formatting

Source

type GenericLongV1: DataMarker<DataStruct = MetazoneGenericNames<'static>>

Marker for loading generic long time zone names.

Source

type GenericShortV1: DataMarker<DataStruct = MetazoneGenericNames<'static>>

Marker for loading generic short time zone names.

Source

type StandardLongV1: DataMarker<DataStruct = MetazoneGenericNames<'static>>

Marker for loading standard long time zone names.

Source

type SpecificLongV1: DataMarker<DataStruct = MetazoneSpecificNames<'static>>

Marker for loading specific long time zone names.

Source

type SpecificShortV1: DataMarker<DataStruct = MetazoneSpecificNames<'static>>

Marker for loading generic short time zone names.

Source

type MetazonePeriodV1: DataMarker<DataStruct = MetazonePeriod<'static>>

Marker for loading metazone periods.

Implementations on Foreign Types§

Source§

impl ZoneMarkers for ()

Implementors§

Source§

impl ZoneMarkers for ZoneFieldSet

Source§

impl ZoneMarkers for ExemplarCity

Source§

impl ZoneMarkers for GenericLong

Source§

impl ZoneMarkers for GenericShort

Source§

impl ZoneMarkers for LocalizedOffsetLong

Source§

impl ZoneMarkers for LocalizedOffsetShort

Source§

impl ZoneMarkers for Location

Source§

impl ZoneMarkers for SpecificLong

Source§

impl ZoneMarkers for SpecificShort