pub enum PromptTimeFormat {
TwelveHourAM,
TwelveHourHHMMSS,
TwentyFourHourHHMM,
TwentyFourHourHHMMSS,
}Expand description
Format for a time in a prompt.
Variants§
TwelveHourAM
A twelve-hour time format with AM/PM.
TwelveHourHHMMSS
A twelve-hour time format (HHMMSS).
TwentyFourHourHHMM
A twenty-four-hour time format (HHMM).
TwentyFourHourHHMMSS
A twenty-four-hour time format (HHMMSS).
Trait Implementations§
Source§impl Clone for PromptTimeFormat
impl Clone for PromptTimeFormat
Source§fn clone(&self) -> PromptTimeFormat
fn clone(&self) -> PromptTimeFormat
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 PromptTimeFormat
impl RefUnwindSafe for PromptTimeFormat
impl Send for PromptTimeFormat
impl Sync for PromptTimeFormat
impl Unpin for PromptTimeFormat
impl UnwindSafe for PromptTimeFormat
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