Struct icu::datetime::provider::time_zones::MetaZoneSpecificNamesV1[][src]

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

A general struct to hold metazone specific name variants. Specific names include time variants such as “daylight.” See CLDR-JSON timeZoneNames.json for more context.

Implementations

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

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

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

Trait Implementations

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

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

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

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

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

type Output = Cow<'s, str>

The returned type after indexing.

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

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

impl<'s> StructuralPartialEq for MetaZoneSpecificNamesV1<'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

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

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

impl<'s, T> SerdeSeDataStruct<'s> for T where
    T: 's + Serialize + Clone + Debug

impl<T> Serialize for T where
    T: Serialize + ?Sized
[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.