pub struct Symbols<'data> {
    pub am: Cow<'data, str>,
    pub pm: Cow<'data, str>,
    pub noon: Option<Cow<'data, str>>,
    pub midnight: Option<Cow<'data, str>>,
}Expand description
Locale data for DayPeriod corresponding to the symbols.
๐ง 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ยง
ยงam: Cow<'data, str>Day period for AM (before noon).
pm: Cow<'data, str>Day period for PM (after noon).
noon: Option<Cow<'data, str>>Day period for noon, in locales that support it.
midnight: Option<Cow<'data, str>>Day period for midnight, in locales that support it.
Trait Implementationsยง
Sourceยงimpl<'de, 'data> Deserialize<'de> for Symbols<'data>where
    'de: 'data,
 
impl<'de, 'data> Deserialize<'de> for Symbols<'data>where
    'de: 'data,
Sourceยงfn deserialize<__D>(
    __deserializer: __D,
) -> Result<Symbols<'data>, <__D as Deserializer<'de>>::Error>where
    __D: Deserializer<'de>,
 
fn deserialize<__D>(
    __deserializer: __D,
) -> Result<Symbols<'data>, <__D as Deserializer<'de>>::Error>where
    __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Sourceยงimpl<'a> From<&Symbols<'a>> for LinearNames<'a>
 
impl<'a> From<&Symbols<'a>> for LinearNames<'a>
Sourceยงfn from(other: &Symbols<'a>) -> LinearNames<'a>
 
fn from(other: &Symbols<'a>) -> LinearNames<'a>
Converts to this type from the input type.
Sourceยงimpl<'a> Yokeable<'a> for Symbols<'static>
 
impl<'a> Yokeable<'a> for Symbols<'static>
Sourceยงtype Output = Symbols<'a>
 
type Output = Symbols<'a>
This type MUST be 
Self with the 'static replaced with 'a, i.e. Self<'a>impl<'data> StructuralPartialEq for Symbols<'data>
Auto Trait Implementationsยง
impl<'data> Freeze for Symbols<'data>
impl<'data> RefUnwindSafe for Symbols<'data>
impl<'data> Send for Symbols<'data>
impl<'data> Sync for Symbols<'data>
impl<'data> Unpin for Symbols<'data>
impl<'data> UnwindSafe for Symbols<'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
Sourceยงimpl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
Sourceยงimpl<T> IntoEither for T
 
impl<T> IntoEither for T
Sourceยงfn into_either(self, into_left: bool) -> Either<Self, Self>
 
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSourceยงfn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
 
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more