pub struct WindowsZonesToBcp47Map<'data> {
pub map: ZeroTrieSimpleAscii<ZeroVec<'data, u8>>,
pub bcp47_ids: ZeroVec<'data, TimeZone>,
}Expand description
A mapping from Windows Timezone names to the corresponding BCP-47 IDs.
๐ง This code is considered unstable; it may change at any time, in breaking or non-breaking ways,
including in SemVer minor releases. While the serde representation of data structs is guaranteed
to be stable, their Rust representation might not be. Use with caution.
Fieldsยง
ยงmap: ZeroTrieSimpleAscii<ZeroVec<'data, u8>>A map from a WindowsZoneIdentifier and WindowsRegion to indexes of the associated BCP-47 time zone identifiers.
bcp47_ids: ZeroVec<'data, TimeZone>A sorted list of BCP-47 time zone identifiers.
Trait Implementationsยง
Sourceยงimpl<'data> Clone for WindowsZonesToBcp47Map<'data>
impl<'data> Clone for WindowsZonesToBcp47Map<'data>
Sourceยงfn clone(&self) -> WindowsZonesToBcp47Map<'data>
fn clone(&self) -> WindowsZonesToBcp47Map<'data>
Returns a copy of the value. Read more
1.0.0 ยท Sourceยงfn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSourceยงimpl<'data> Debug for WindowsZonesToBcp47Map<'data>
impl<'data> Debug for WindowsZonesToBcp47Map<'data>
Sourceยงimpl<'de: 'data, 'data> Deserialize<'de> for WindowsZonesToBcp47Map<'data>
impl<'de: 'data, 'data> Deserialize<'de> for WindowsZonesToBcp47Map<'data>
Sourceยงfn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Sourceยงimpl MaybeAsVarULE for WindowsZonesToBcp47Map<'_>
impl MaybeAsVarULE for WindowsZonesToBcp47Map<'_>
Sourceยงimpl<'data> PartialEq for WindowsZonesToBcp47Map<'data>
impl<'data> PartialEq for WindowsZonesToBcp47Map<'data>
Sourceยงfn eq(&self, other: &WindowsZonesToBcp47Map<'data>) -> bool
fn eq(&self, other: &WindowsZonesToBcp47Map<'data>) -> bool
Tests for
self and other values to be equal, and is used by ==.Sourceยงimpl<'a> Yokeable<'a> for WindowsZonesToBcp47Map<'static>
impl<'a> Yokeable<'a> for WindowsZonesToBcp47Map<'static>
Sourceยงtype Output = WindowsZonesToBcp47Map<'a>
type Output = WindowsZonesToBcp47Map<'a>
This type MUST be
Self with the 'static replaced with 'a, i.e. Self<'a>Sourceยงfn transform_owned(self) -> Self::Output
fn transform_owned(self) -> Self::Output
Sourceยงimpl<'zf, 'zf_inner> ZeroFrom<'zf, WindowsZonesToBcp47Map<'zf_inner>> for WindowsZonesToBcp47Map<'zf>
impl<'zf, 'zf_inner> ZeroFrom<'zf, WindowsZonesToBcp47Map<'zf_inner>> for WindowsZonesToBcp47Map<'zf>
Sourceยงfn zero_from(this: &'zf WindowsZonesToBcp47Map<'zf_inner>) -> Self
fn zero_from(this: &'zf WindowsZonesToBcp47Map<'zf_inner>) -> Self
Clone the other
C into a struct that may retain references into C.impl<'data> StructuralPartialEq for WindowsZonesToBcp47Map<'data>
Auto Trait Implementationsยง
impl<'data> Freeze for WindowsZonesToBcp47Map<'data>
impl<'data> RefUnwindSafe for WindowsZonesToBcp47Map<'data>
impl<'data> Send for WindowsZonesToBcp47Map<'data>
impl<'data> Sync for WindowsZonesToBcp47Map<'data>
impl<'data> Unpin for WindowsZonesToBcp47Map<'data>
impl<'data> UnwindSafe for WindowsZonesToBcp47Map<'data>
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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