pub struct IanaIdentifierNormalizer<'data> {
pub version: Cow<'data, str>,
pub available_id_index: ZeroAsciiIgnoreCaseTrie<ZeroVec<'data, u8>>,
pub normalized_identifiers: VarZeroVec<'data, str>,
}Expand description
A data struct for IANA identifier normalization
Fields§
§version: Cow<'data, str>TZDB version
available_id_index: ZeroAsciiIgnoreCaseTrie<ZeroVec<'data, u8>>An index to the location of the normal identifier.
normalized_identifiers: VarZeroVec<'data, str>The normalized IANA identifier
Trait Implementations§
Source§impl<'data> Clone for IanaIdentifierNormalizer<'data>
impl<'data> Clone for IanaIdentifierNormalizer<'data>
Source§fn clone(&self) -> IanaIdentifierNormalizer<'data>
fn clone(&self) -> IanaIdentifierNormalizer<'data>
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'data> Debug for IanaIdentifierNormalizer<'data>
impl<'data> Debug for IanaIdentifierNormalizer<'data>
Source§impl<'data> PartialEq for IanaIdentifierNormalizer<'data>
impl<'data> PartialEq for IanaIdentifierNormalizer<'data>
Source§fn eq(&self, other: &IanaIdentifierNormalizer<'data>) -> bool
fn eq(&self, other: &IanaIdentifierNormalizer<'data>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'data> StructuralPartialEq for IanaIdentifierNormalizer<'data>
Auto Trait Implementations§
impl<'data> Freeze for IanaIdentifierNormalizer<'data>
impl<'data> RefUnwindSafe for IanaIdentifierNormalizer<'data>
impl<'data> Send for IanaIdentifierNormalizer<'data>
impl<'data> Sync for IanaIdentifierNormalizer<'data>
impl<'data> Unpin for IanaIdentifierNormalizer<'data>
impl<'data> UnwindSafe for IanaIdentifierNormalizer<'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