Enum TimestampPrecision
pub enum TimestampPrecision
Formatting precision of timestamps.
Seconds give precision of full seconds, milliseconds give thousands of a second (3 decimal digits), microseconds are millionth of a second (6 decimal digits) and nanoseconds are billionth of a second (9 decimal digits).
Variants
-
Seconds Full second precision (0 decimal digits)
-
Millis Millisecond precision (3 decimal digits)
-
Micros Microsecond precision (6 decimal digits)
-
Nanos Nanosecond precision (9 decimal digits)
Trait Implementations
impl Clone for TimestampPrecision
fn clone(&self) -> Self
impl Copy for TimestampPrecision
impl Debug for TimestampPrecision
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Default for TimestampPrecision
fn default() -> Self