pub enum TimestampStyle {
Date,
Secodns,
Full,
}Expand description
Time stamp style
Variants§
Date
2024-11-09T14:15:16.123456789 -> 2024-11-09
Secodns
2024-11-09T14:15:16.123456789 -> 2024-11-09 14:15:16
Full
This is the default
2024-11-09T14:15:16.123456789 -> 2024-11-09 14:15:16.123456789
Implementations§
Trait Implementations§
Source§impl Clone for TimestampStyle
impl Clone for TimestampStyle
Source§fn clone(&self) -> TimestampStyle
fn clone(&self) -> TimestampStyle
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 moreSource§impl Debug for TimestampStyle
impl Debug for TimestampStyle
Source§impl Default for TimestampStyle
impl Default for TimestampStyle
Source§fn default() -> TimestampStyle
fn default() -> TimestampStyle
Returns the “default value” for a type. Read more
impl Copy for TimestampStyle
Auto Trait Implementations§
impl Freeze for TimestampStyle
impl RefUnwindSafe for TimestampStyle
impl Send for TimestampStyle
impl Sync for TimestampStyle
impl Unpin for TimestampStyle
impl UnwindSafe for TimestampStyle
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