pub enum TomlDatetime {
OffsetDateTime(OffsetDateTime),
LocalDateTime(PrimitiveDateTime),
LocalDate(Date),
LocalTime(Time),
}Expand description
TOML datetime values
Variants§
Trait Implementations§
Source§impl Clone for TomlDatetime
impl Clone for TomlDatetime
Source§fn clone(&self) -> TomlDatetime
fn clone(&self) -> TomlDatetime
Returns a duplicate 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 TomlDatetime
impl Debug for TomlDatetime
Source§impl From<TomlDatetime> for Value
impl From<TomlDatetime> for Value
Source§fn from(value: TomlDatetime) -> Self
fn from(value: TomlDatetime) -> Self
Converts to this type from the input type.
Source§impl PartialEq for TomlDatetime
impl PartialEq for TomlDatetime
impl StructuralPartialEq for TomlDatetime
Auto Trait Implementations§
impl Freeze for TomlDatetime
impl RefUnwindSafe for TomlDatetime
impl Send for TomlDatetime
impl Sync for TomlDatetime
impl Unpin for TomlDatetime
impl UnwindSafe for TomlDatetime
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