pub enum PromptDateFormat {
WeekdayMonthDate,
Custom(String),
}Expand description
Format for a date in a prompt.
Variants§
WeekdayMonthDate
A format including weekday, month, and date.
Custom(String)
A customer string format.
Trait Implementations§
Source§impl Clone for PromptDateFormat
impl Clone for PromptDateFormat
Source§fn clone(&self) -> PromptDateFormat
fn clone(&self) -> PromptDateFormat
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for PromptDateFormat
impl RefUnwindSafe for PromptDateFormat
impl Send for PromptDateFormat
impl Sync for PromptDateFormat
impl Unpin for PromptDateFormat
impl UnwindSafe for PromptDateFormat
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