pub enum DateOrder {
YMD,
DMY,
MDY,
}
Expand description
DateOrder defines the field order to be assumed when reading an ambiguous date (anything not in YYYY-MM-DD format, with a four-digit year field first, is taken to be ambiguous).
Variants§
YMD
YMD specifies field order yy-mm-dd.
DMY
DMY specifies field order dd-mm-yy (“European” convention).
MDY
MDY specifies field order mm-dd-yy (“US” convention).
Trait Implementations§
impl Copy for DateOrder
impl Eq for DateOrder
impl StructuralPartialEq for DateOrder
Auto Trait Implementations§
impl Freeze for DateOrder
impl RefUnwindSafe for DateOrder
impl Send for DateOrder
impl Sync for DateOrder
impl Unpin for DateOrder
impl UnwindSafe for DateOrder
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