pub enum SecondsFormat {
Secs,
Millis,
Micros,
Nanos,
AutoSi,
}Expand description
How many fractional digits UtcDateTime::to_rfc3339_opts writes.
Variants§
Secs
No fraction.
Millis
Three digits.
Micros
Six digits.
Nanos
Nine digits.
AutoSi
The fewest of 0, 3, 6 or 9 digits that keep the value exact.
Trait Implementations§
Source§impl Clone for SecondsFormat
impl Clone for SecondsFormat
impl Copy for SecondsFormat
Source§impl Debug for SecondsFormat
impl Debug for SecondsFormat
impl Eq for SecondsFormat
Source§impl Hash for SecondsFormat
impl Hash for SecondsFormat
Source§impl PartialEq for SecondsFormat
impl PartialEq for SecondsFormat
impl StructuralPartialEq for SecondsFormat
Auto Trait Implementations§
impl Forget for SecondsFormat
impl Freeze for SecondsFormat
impl Move for SecondsFormat
impl RefUnwindSafe for SecondsFormat
impl Send for SecondsFormat
impl Sync for SecondsFormat
impl Unpin for SecondsFormat
impl UnsafeUnpin for SecondsFormat
impl UnwindSafe for SecondsFormat
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