#[non_exhaustive]pub enum DateFields {
Weekday,
DayWeekday,
MonthDay,
MonthDayWeekday,
YearMonthDay,
YearMonthDayWeekday,
}Expand description
dateFields / fields.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Weekday
weekday.
DayWeekday
day-weekday.
MonthDay
month-day.
MonthDayWeekday
month-day-weekday.
YearMonthDay
year-month-day (the default).
YearMonthDayWeekday
year-month-day-weekday.
Trait Implementations§
Source§impl Clone for DateFields
impl Clone for DateFields
impl Copy for DateFields
Source§impl Debug for DateFields
impl Debug for DateFields
impl Eq for DateFields
Source§impl Hash for DateFields
impl Hash for DateFields
Source§impl PartialEq for DateFields
impl PartialEq for DateFields
impl StructuralPartialEq for DateFields
Auto Trait Implementations§
impl Freeze for DateFields
impl RefUnwindSafe for DateFields
impl Send for DateFields
impl Sync for DateFields
impl Unpin for DateFields
impl UnsafeUnpin for DateFields
impl UnwindSafe for DateFields
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