pub enum DateTimeKind {
OffsetDateTime,
LocalDateTime,
LocalDate,
LocalTime,
}Expand description
A TOML date/time value category.
Variants§
OffsetDateTime
A date and time with a UTC marker or numeric offset.
LocalDateTime
A date and time without an offset.
LocalDate
A calendar date without a time.
LocalTime
A wall-clock time without a date or offset.
Trait Implementations§
Source§impl Clone for DateTimeKind
impl Clone for DateTimeKind
Source§fn clone(&self) -> DateTimeKind
fn clone(&self) -> DateTimeKind
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 moreimpl Copy for DateTimeKind
Source§impl Debug for DateTimeKind
impl Debug for DateTimeKind
impl Eq for DateTimeKind
Source§impl Hash for DateTimeKind
impl Hash for DateTimeKind
Source§impl PartialEq for DateTimeKind
impl PartialEq for DateTimeKind
impl StructuralPartialEq for DateTimeKind
Auto Trait Implementations§
impl Freeze for DateTimeKind
impl RefUnwindSafe for DateTimeKind
impl Send for DateTimeKind
impl Sync for DateTimeKind
impl Unpin for DateTimeKind
impl UnsafeUnpin for DateTimeKind
impl UnwindSafe for DateTimeKind
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