#[repr(u8)]pub enum Day {
    DayOfMonth = 0,
    DayOfYear = 1,
    DayOfWeekInMonth = 2,
}Expand description
An enum for the possible symbols of a day field in a date pattern.
Variants§
DayOfMonth = 0
Field symbol for day of month (numeric).
This field symbol is represented by the character d in a date formatting pattern string.
For more details, see documentation on date field symbols.
DayOfYear = 1
Field symbol for day of year (numeric).
This field symbol is represented by the character D in a date formatting pattern string.
For more details, see documentation on date field symbols.
DayOfWeekInMonth = 2
Field symbol for the day of week occurrence relative to the month (numeric).
For the example "2nd Wed in July", this field would provide "2".  Should likely be paired with the Weekday field.
This field symbol is represented by the character F in a date formatting pattern string.
For more details, see documentation on date field symbols.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Day
 
impl<'de> Deserialize<'de> for Day
Source§fn deserialize<__D>(
    __deserializer: __D,
) -> Result<Day, <__D as Deserializer<'de>>::Error>where
    __D: Deserializer<'de>,
 
fn deserialize<__D>(
    __deserializer: __D,
) -> Result<Day, <__D as Deserializer<'de>>::Error>where
    __D: Deserializer<'de>,
Source§impl From<Day> for FieldSymbol
 
impl From<Day> for FieldSymbol
Source§fn from(input: Day) -> FieldSymbol
 
fn from(input: Day) -> FieldSymbol
Source§impl Ord for Day
 
impl Ord for Day
Source§impl PartialOrd for Day
 
impl PartialOrd for Day
Source§impl<'a> Yokeable<'a> for Day
 
impl<'a> Yokeable<'a> for Day
Source§impl<'a> ZeroMapKV<'a> for Day
 
impl<'a> ZeroMapKV<'a> for Day
impl Copy for Day
impl Eq for Day
impl StructuralPartialEq for Day
Auto Trait Implementations§
impl Freeze for Day
impl RefUnwindSafe for Day
impl Send for Day
impl Sync for Day
impl Unpin for Day
impl UnwindSafe for Day
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