Enum vergen::TimestampKind
source · pub enum TimestampKind {
DateOnly,
TimeOnly,
DateAndTime,
Timestamp,
All,
}
Expand description
The timestamp kind to output
Variants§
DateOnly
Output the date only
TimeOnly
Output the time only
DateAndTime
Output the date and time only
Timestamp
Output the timestamp only
All
Output all formats
Trait Implementations§
source§impl Clone for TimestampKind
impl Clone for TimestampKind
source§fn clone(&self) -> TimestampKind
fn clone(&self) -> TimestampKind
Returns a copy 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 TimestampKind
impl Debug for TimestampKind
source§impl PartialEq<TimestampKind> for TimestampKind
impl PartialEq<TimestampKind> for TimestampKind
source§fn eq(&self, other: &TimestampKind) -> bool
fn eq(&self, other: &TimestampKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.