pub enum CalendarFieldsType {
Date,
YearMonth,
MonthDay,
}
Expand description
Designate the type of CalendarFields
needed
Variants§
Date
Whether the Fields should return for a Date.
YearMonth
Whether the Fields should return for a YearMonth.
MonthDay
Whether the Fields should return for a MonthDay.
Trait Implementations§
source§impl Clone for CalendarFieldsType
impl Clone for CalendarFieldsType
source§fn clone(&self) -> CalendarFieldsType
fn clone(&self) -> CalendarFieldsType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CalendarFieldsType
impl Debug for CalendarFieldsType
source§impl From<&[String]> for CalendarFieldsType
impl From<&[String]> for CalendarFieldsType
impl Copy for CalendarFieldsType
Auto Trait Implementations§
impl RefUnwindSafe for CalendarFieldsType
impl Send for CalendarFieldsType
impl Sync for CalendarFieldsType
impl Unpin for CalendarFieldsType
impl UnwindSafe for CalendarFieldsType
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