pub enum AbsoluteTime {
Date(Date),
DateTime(DateTime),
}Variants§
Date(Date)
A Date, such as “23/9/2028”.
DateTime(DateTime)
A DateTime, such as “28/1/2025 at 5:23 PM” or “1/1/2019 20:15”.
Trait Implementations§
Source§impl Clone for AbsoluteTime
impl Clone for AbsoluteTime
Source§fn clone(&self) -> AbsoluteTime
fn clone(&self) -> AbsoluteTime
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 AbsoluteTime
impl Debug for AbsoluteTime
Source§impl Display for AbsoluteTime
impl Display for AbsoluteTime
Source§impl FromStr for AbsoluteTime
impl FromStr for AbsoluteTime
Source§impl Hash for AbsoluteTime
impl Hash for AbsoluteTime
Source§impl Ord for AbsoluteTime
impl Ord for AbsoluteTime
Source§fn cmp(&self, other: &AbsoluteTime) -> Ordering
fn cmp(&self, other: &AbsoluteTime) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl Parse for AbsoluteTime
impl Parse for AbsoluteTime
fn parse(input: ParseStream<'_>) -> Result<Self>
Source§impl PartialEq for AbsoluteTime
impl PartialEq for AbsoluteTime
Source§impl PartialOrd for AbsoluteTime
impl PartialOrd for AbsoluteTime
impl Copy for AbsoluteTime
impl Eq for AbsoluteTime
impl StructuralPartialEq for AbsoluteTime
Auto Trait Implementations§
impl Freeze for AbsoluteTime
impl RefUnwindSafe for AbsoluteTime
impl Send for AbsoluteTime
impl Sync for AbsoluteTime
impl Unpin for AbsoluteTime
impl UnwindSafe for AbsoluteTime
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