Struct icu_datetime::provider::time_zones::MetaZoneGenericNamesLongV1[][src]

pub struct MetaZoneGenericNamesLongV1<'s>(pub LiteMap<Cow<'s, str>, Cow<'s, str>>);

An ICU4X mapping to the long-form generic metazone names. See CLDR-JSON timeZoneNames.json for more context.

Implementations

impl<'s> MetaZoneGenericNamesLongV1<'s>[src]

pub fn get<Q: ?Sized>(&self, key: &Q) -> Option<&Cow<'s, str>> where
    Q: Ord,
    Cow<'s, str>: Borrow<Q>, 
[src]

pub fn is_empty(&self) -> bool[src]

Trait Implementations

impl<'s> Clone for MetaZoneGenericNamesLongV1<'s>[src]

impl<'s> Debug for MetaZoneGenericNamesLongV1<'s>[src]

impl<'s> Default for MetaZoneGenericNamesLongV1<'s>[src]

impl<'de, 's> Deserialize<'de> for MetaZoneGenericNamesLongV1<'s>[src]

impl<'s, Q: ?Sized> Index<&'_ Q> for MetaZoneGenericNamesLongV1<'s> where
    Q: Ord,
    Cow<'s, str>: Borrow<Q>, 
[src]

type Output = Cow<'s, str>

The returned type after indexing.

impl<'s> PartialEq<MetaZoneGenericNamesLongV1<'s>> for MetaZoneGenericNamesLongV1<'s>[src]

impl<'s> Serialize for MetaZoneGenericNamesLongV1<'s>[src]

impl<'s> StructuralPartialEq for MetaZoneGenericNamesLongV1<'s>[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> ErasedDataStruct for T where
    T: Clone + Debug + Any
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.