#[non_exhaustive]pub enum DateOrder {
DayFirst,
MonthFirst,
}Expand description
The reading of a slash-separated date such as 01/02/2024.
ISO 8601 and RFC 3339 dates are unambiguous and are accepted whatever this is set to.
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.
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 UnsafeUnpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.