pub enum DateTimeFormat {
Nanoseconds,
Microseconds,
Milliseconds,
Seconds,
}Variants§
Implementations§
Source§impl DateTimeFormat
impl DateTimeFormat
pub fn as_datetime_format(&self) -> &str
pub fn as_time_format(&self) -> &str
Trait Implementations§
Source§impl Clone for DateTimeFormat
impl Clone for DateTimeFormat
Source§fn clone(&self) -> DateTimeFormat
fn clone(&self) -> DateTimeFormat
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DateTimeFormat
impl Debug for DateTimeFormat
impl Eq for DateTimeFormat
Source§impl PartialEq for DateTimeFormat
impl PartialEq for DateTimeFormat
impl StructuralPartialEq for DateTimeFormat
Auto Trait Implementations§
impl Freeze for DateTimeFormat
impl RefUnwindSafe for DateTimeFormat
impl Send for DateTimeFormat
impl Sync for DateTimeFormat
impl Unpin for DateTimeFormat
impl UnsafeUnpin for DateTimeFormat
impl UnwindSafe for DateTimeFormat
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