pub enum TimestampFormat {
Iso8601,
EpochSeconds,
EpochMillis,
EpochMicros,
DateOnly,
TimeOnly,
}Expand description
Target format for timestamp conversion.
Variants§
Iso8601
ISO 8601 string (2024-01-15T10:30:00Z)
EpochSeconds
Unix epoch seconds
EpochMillis
Unix epoch milliseconds
EpochMicros
Unix epoch microseconds
DateOnly
Date only (2024-01-15)
TimeOnly
Time only (10:30:00)
Trait Implementations§
Source§impl Clone for TimestampFormat
impl Clone for TimestampFormat
Source§fn clone(&self) -> TimestampFormat
fn clone(&self) -> TimestampFormat
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 TimestampFormat
impl Debug for TimestampFormat
Source§impl Default for TimestampFormat
impl Default for TimestampFormat
Source§fn default() -> TimestampFormat
fn default() -> TimestampFormat
Returns the “default value” for a type. Read more
Source§impl PartialEq for TimestampFormat
impl PartialEq for TimestampFormat
impl Copy for TimestampFormat
impl Eq for TimestampFormat
impl StructuralPartialEq for TimestampFormat
Auto Trait Implementations§
impl Freeze for TimestampFormat
impl RefUnwindSafe for TimestampFormat
impl Send for TimestampFormat
impl Sync for TimestampFormat
impl Unpin for TimestampFormat
impl UnsafeUnpin for TimestampFormat
impl UnwindSafe for TimestampFormat
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.