Struct icu_datetime::time_zone::TimeZoneDataPayloads
source · pub(crate) struct TimeZoneDataPayloads {
pub(crate) zone_formats: DataPayload<TimeZoneFormatsV1Marker>,
pub(crate) exemplar_cities: Option<DataPayload<ExemplarCitiesV1Marker>>,
pub(crate) mz_generic_long: Option<DataPayload<MetazoneGenericNamesLongV1Marker>>,
pub(crate) mz_generic_short: Option<DataPayload<MetazoneGenericNamesShortV1Marker>>,
pub(crate) mz_specific_long: Option<DataPayload<MetazoneSpecificNamesLongV1Marker>>,
pub(crate) mz_specific_short: Option<DataPayload<MetazoneSpecificNamesShortV1Marker>>,
}
Expand description
A container contains all data payloads for CustomTimeZone.
Fields§
§zone_formats: DataPayload<TimeZoneFormatsV1Marker>
The data that contains meta information about how to display content.
exemplar_cities: Option<DataPayload<ExemplarCitiesV1Marker>>
The exemplar cities for time zones.
mz_generic_long: Option<DataPayload<MetazoneGenericNamesLongV1Marker>>
The generic long metazone names, e.g. Pacific Time
mz_generic_short: Option<DataPayload<MetazoneGenericNamesShortV1Marker>>
The generic short metazone names, e.g. PT
mz_specific_long: Option<DataPayload<MetazoneSpecificNamesLongV1Marker>>
The specific long metazone names, e.g. Pacific Daylight Time
mz_specific_short: Option<DataPayload<MetazoneSpecificNamesShortV1Marker>>
The specific short metazone names, e.g. Pacific Daylight Time
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TimeZoneDataPayloads
impl RefUnwindSafe for TimeZoneDataPayloads
impl !Send for TimeZoneDataPayloads
impl !Sync for TimeZoneDataPayloads
impl Unpin for TimeZoneDataPayloads
impl UnwindSafe for TimeZoneDataPayloads
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more