Struct icu_datetime::provider::time_zones::TimeZoneFormatsV1 [−][src]
pub struct TimeZoneFormatsV1<'s> { pub hour_format: (Cow<'s, str>, Cow<'s, str>), pub gmt_format: Cow<'s, str>, pub gmt_zero_format: Cow<'s, str>, pub region_format: Cow<'s, str>, pub region_format_variants: LiteMap<Cow<'s, str>, Cow<'s, str>>, pub fallback_format: Cow<'s, str>, }
An ICU4X mapping to the CLDR timeZoneNames format strings. See CLDR-JSON timeZoneNames.json for more context.
Fields
hour_format: (Cow<'s, str>, Cow<'s, str>)
The hour format for displaying GMT offsets.
gmt_format: Cow<'s, str>
The localized GMT-offset format.
gmt_zero_format: Cow<'s, str>
The localized GMT format with no offset.
region_format: Cow<'s, str>
The format string for a region.
region_format_variants: LiteMap<Cow<'s, str>, Cow<'s, str>>
The format strings for region format variants e.g. daylight, standard.
fallback_format: Cow<'s, str>
The format string to fall back to if data is unavailable.
Trait Implementations
impl<'s> Clone for TimeZoneFormatsV1<'s>
[src]
impl<'s> Clone for TimeZoneFormatsV1<'s>
[src]fn clone(&self) -> TimeZoneFormatsV1<'s>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'s> Default for TimeZoneFormatsV1<'s>
[src]
impl<'s> Default for TimeZoneFormatsV1<'s>
[src]fn default() -> TimeZoneFormatsV1<'s>
[src]
impl<'de, 's> Deserialize<'de> for TimeZoneFormatsV1<'s>
[src]
impl<'de, 's> Deserialize<'de> for TimeZoneFormatsV1<'s>
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl<'s> PartialEq<TimeZoneFormatsV1<'s>> for TimeZoneFormatsV1<'s>
[src]
impl<'s> PartialEq<TimeZoneFormatsV1<'s>> for TimeZoneFormatsV1<'s>
[src]fn eq(&self, other: &TimeZoneFormatsV1<'s>) -> bool
[src]
fn ne(&self, other: &TimeZoneFormatsV1<'s>) -> bool
[src]
impl<'s> Serialize for TimeZoneFormatsV1<'s>
[src]
impl<'s> Serialize for TimeZoneFormatsV1<'s>
[src]impl<'s> StructuralPartialEq for TimeZoneFormatsV1<'s>
[src]
impl<'s> StructuralPartialEq for TimeZoneFormatsV1<'s>
[src]Auto Trait Implementations
impl<'s> RefUnwindSafe for TimeZoneFormatsV1<'s>
impl<'s> RefUnwindSafe for TimeZoneFormatsV1<'s>
impl<'s> Send for TimeZoneFormatsV1<'s>
impl<'s> Send for TimeZoneFormatsV1<'s>
impl<'s> Sync for TimeZoneFormatsV1<'s>
impl<'s> Sync for TimeZoneFormatsV1<'s>
impl<'s> Unpin for TimeZoneFormatsV1<'s>
impl<'s> Unpin for TimeZoneFormatsV1<'s>
impl<'s> UnwindSafe for TimeZoneFormatsV1<'s>
impl<'s> UnwindSafe for TimeZoneFormatsV1<'s>
Blanket Implementations
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]impl<T> ErasedDataStruct for T where
T: Clone + Debug + Any,
[src]
impl<T> ErasedDataStruct for T where
T: Clone + Debug + Any,
[src]