#[non_exhaustive]pub struct TimezoneVariantsOffsetsV1;
Expand description
The default mapping between period and offsets. The second level key is a wall-clock time encoded as
ZoneNameTimestamp
. It represents when the offsets started to be used.
The values are the standard offset, and the daylight offset relative to the standard offset. As such, if the second value is 0, there is no daylight time.
Trait Implementations§
Source§impl DataMarker for TimezoneVariantsOffsetsV1
impl DataMarker for TimezoneVariantsOffsetsV1
Source§const INFO: DataMarkerInfo
const INFO: DataMarkerInfo
The single
DataMarkerInfo
associated with this marker.Source§impl DataProvider<TimezoneVariantsOffsetsV1> for Baked
impl DataProvider<TimezoneVariantsOffsetsV1> for Baked
Source§fn load(
&self,
req: DataRequest<'_>,
) -> Result<DataResponse<TimezoneVariantsOffsetsV1>, DataError>
fn load( &self, req: DataRequest<'_>, ) -> Result<DataResponse<TimezoneVariantsOffsetsV1>, DataError>
Query the provider for data, returning the result. Read more
Source§impl DynamicDataMarker for TimezoneVariantsOffsetsV1
impl DynamicDataMarker for TimezoneVariantsOffsetsV1
Source§type DataStruct = ZeroMap2d<'static, TimeZone, ZoneNameTimestamp, VariantOffsets>
type DataStruct = ZeroMap2d<'static, TimeZone, ZoneNameTimestamp, VariantOffsets>
A type that implements
Yokeable
. This should typically be the 'static
version of a
data struct.Auto Trait Implementations§
impl Freeze for TimezoneVariantsOffsetsV1
impl RefUnwindSafe for TimezoneVariantsOffsetsV1
impl Send for TimezoneVariantsOffsetsV1
impl Sync for TimezoneVariantsOffsetsV1
impl Unpin for TimezoneVariantsOffsetsV1
impl UnwindSafe for TimezoneVariantsOffsetsV1
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<M> DataMarkerExt for Mwhere
M: DataMarker,
impl<M> DataMarkerExt for Mwhere
M: DataMarker,
Source§fn bind<P>(provider: P) -> DataProviderWithMarker<M, P>where
P: DataProvider<M>,
fn bind<P>(provider: P) -> DataProviderWithMarker<M, P>where
P: DataProvider<M>,
Binds a
DataMarker
to a provider supporting it.Source§fn make_locale(locale: LocalePreferences) -> DataLocale
fn make_locale(locale: LocalePreferences) -> DataLocale
Constructs a
DataLocale
using fallback preferences from this DataMarker
.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