Enum dfx_base::fields::converters::datetime::DateTimeFormat
source · 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 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 DateTimeFormat
impl Debug for DateTimeFormat
source§impl PartialEq<DateTimeFormat> for DateTimeFormat
impl PartialEq<DateTimeFormat> for DateTimeFormat
source§fn eq(&self, other: &DateTimeFormat) -> bool
fn eq(&self, other: &DateTimeFormat) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl TryFrom<String> for DateTimeFormat
impl TryFrom<String> for DateTimeFormat
impl Eq for DateTimeFormat
impl StructuralEq for DateTimeFormat
impl StructuralPartialEq for DateTimeFormat
Auto Trait Implementations§
impl RefUnwindSafe for DateTimeFormat
impl Send for DateTimeFormat
impl Sync for DateTimeFormat
impl Unpin 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