pub struct DateOptions(pub DateOrder, pub Option<char>);
Expand description
Options for parsing the date component of strings
Tuple Fields§
§0: DateOrder
§1: Option<char>
Implementations§
Source§impl DateOptions
impl DateOptions
Source§impl DateOptions
instantiate options with three common orders + split character
e.g. DateOptions::dmy(‘.’)
impl DateOptions
instantiate options with three common orders + split character e.g. DateOptions::dmy(‘.’)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DateOptions
impl RefUnwindSafe for DateOptions
impl Send for DateOptions
impl Sync for DateOptions
impl Unpin for DateOptions
impl UnwindSafe for DateOptions
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