pub struct IanaNames<'data> {
pub normalized_iana_ids: VarZeroVec<'data, str>,
}Expand description
A mapping from IANA time zone identifiers to BCP-47 time zone identifiers.
The BCP-47 time zone ID maps to the default IANA time zone ID according to the CLDR data.
๐ง 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ยง
ยงnormalized_iana_ids: VarZeroVec<'data, str>The list of all normalized IANA identifiers.
The first bcp47_ids.len() identifiers are canonical for the
the BCP-47 IDs in IanaToBcp47Map::bcp47_ids at the same index.
The remaining non-canonical identifiers are sorted in ascending lowercase order.
Trait Implementationsยง
Sourceยงimpl MaybeAsVarULE for IanaNames<'_>
impl MaybeAsVarULE for IanaNames<'_>
Sourceยงimpl<'data> PartialEq for IanaNames<'data>
impl<'data> PartialEq for IanaNames<'data>
Sourceยงimpl<'yoke> Yokeable<'yoke> for IanaNames<'static>
impl<'yoke> Yokeable<'yoke> for IanaNames<'static>
Sourceยงtype Output = IanaNames<'yoke>
type Output = IanaNames<'yoke>
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
impl<'data> StructuralPartialEq for IanaNames<'data>
Auto Trait Implementationsยง
impl<'data> Freeze for IanaNames<'data>
impl<'data> RefUnwindSafe for IanaNames<'data>
impl<'data> Send for IanaNames<'data>
impl<'data> Sync for IanaNames<'data>
impl<'data> Unpin for IanaNames<'data>
impl<'data> UnsafeUnpin for IanaNames<'data>
impl<'data> UnwindSafe for IanaNames<'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