#[repr(u8)]pub enum Weekday {
    Format = 0,
    Local = 1,
    StandAlone = 2,
}Expand description
An enum for the possible symbols of a weekday field in a date pattern.
Variants§
Format = 0
Field symbol for day of week (text format only).
This field symbol is represented by the character E in a date formatting pattern string.
For more details, see documentation on date field symbols.
Local = 1
Field symbol for day of week; numeric formats produce a locale-dependent ordinal weekday number.
For example, in de-DE, Monday is the 1st day of the week.
This field symbol is represented by the character e in a date formatting pattern string.
For more details, see documentation on date field symbols.
StandAlone = 2
Field symbol for stand-alone local day of week number/name.
The stand-alone weekday name is used when the weekday is displayed by itself. This may differ from the standard form based on the language and context.
This field symbol is represented by the character c in a date formatting pattern string.
For more details, see documentation on date field symbols.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Weekday
 
impl<'de> Deserialize<'de> for Weekday
Source§fn deserialize<__D>(
    __deserializer: __D,
) -> Result<Weekday, <__D as Deserializer<'de>>::Error>where
    __D: Deserializer<'de>,
 
fn deserialize<__D>(
    __deserializer: __D,
) -> Result<Weekday, <__D as Deserializer<'de>>::Error>where
    __D: Deserializer<'de>,
Source§impl From<Weekday> for FieldSymbol
 
impl From<Weekday> for FieldSymbol
Source§fn from(input: Weekday) -> FieldSymbol
 
fn from(input: Weekday) -> FieldSymbol
Source§impl Ord for Weekday
 
impl Ord for Weekday
Source§impl PartialOrd for Weekday
 
impl PartialOrd for Weekday
Source§impl<'a> Yokeable<'a> for Weekday
 
impl<'a> Yokeable<'a> for Weekday
Source§impl<'a> ZeroMapKV<'a> for Weekday
 
impl<'a> ZeroMapKV<'a> for Weekday
impl Copy for Weekday
impl Eq for Weekday
impl StructuralPartialEq for Weekday
Auto Trait Implementations§
impl Freeze for Weekday
impl RefUnwindSafe for Weekday
impl Send for Weekday
impl Sync for Weekday
impl Unpin for Weekday
impl UnwindSafe for Weekday
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
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>
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>
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