Struct icu_datetime::provider::time_zones::MetaZoneSpecificNamesShortV1 [−][src]
pub struct MetaZoneSpecificNamesShortV1<'data>(pub LiteMap<Cow<'data, str>, MetaZoneSpecificNamesV1<'data>>);
Expand description
An ICU4X mapping to the short-form specific metazone names. Specific names include time variants such as “daylight.” See CLDR-JSON timeZoneNames.json for more context.
Tuple Fields
0: LiteMap<Cow<'data, str>, MetaZoneSpecificNamesV1<'data>>
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
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
impl<'data> PartialEq<MetaZoneSpecificNamesShortV1<'data>> for MetaZoneSpecificNamesShortV1<'data>
impl<'data> PartialEq<MetaZoneSpecificNamesShortV1<'data>> for MetaZoneSpecificNamesShortV1<'data>
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
type Output = MetaZoneSpecificNamesShortV1<'a>
type Output = MetaZoneSpecificNamesShortV1<'a>
This type MUST be Self
with the 'static
replaced with 'a
, i.e. Self<'a>
This method must cast self
between &'a Self<'static>
and &'a Self<'a>
. Read more
This method must cast self
between Self<'static>
and Self<'a>
. Read more
This method can be used to cast away Self<'a>
’s lifetime. Read more
fn transform_mut<F>(&'a mut self, f: F) where
F: 'static + for<'b> FnOnce(&'b mut Self::Output),
fn transform_mut<F>(&'a mut self, f: F) where
F: 'static + for<'b> FnOnce(&'b mut Self::Output),
This method must cast self
between &'a mut Self<'static>
and &'a mut Self<'a>
,
and pass it to f
. Read more
impl<'s> ZeroCopyFrom<MetaZoneSpecificNamesShortV1<'s>> for MetaZoneSpecificNamesShortV1<'static>
impl<'s> ZeroCopyFrom<MetaZoneSpecificNamesShortV1<'s>> for MetaZoneSpecificNamesShortV1<'static>
fn zero_copy_from<'b>(
this: &'b MetaZoneSpecificNamesShortV1<'s>
) -> MetaZoneSpecificNamesShortV1<'b>
fn zero_copy_from<'b>(
this: &'b MetaZoneSpecificNamesShortV1<'s>
) -> MetaZoneSpecificNamesShortV1<'b>
Clone the cart C
into a [Yokeable
] struct, which may retain references into C
.
Auto Trait Implementations
impl<'data> RefUnwindSafe for MetaZoneSpecificNamesShortV1<'data>
impl<'data> Send for MetaZoneSpecificNamesShortV1<'data>
impl<'data> Sync for MetaZoneSpecificNamesShortV1<'data>
impl<'data> Unpin for MetaZoneSpecificNamesShortV1<'data>
impl<'data> UnwindSafe for MetaZoneSpecificNamesShortV1<'data>
Blanket Implementations
Mutably borrows from an owned value. Read more
Clone this trait object reference, returning a boxed trait object.