pub enum Date<'a> {
Text(&'a str),
Calendar {
year: u16,
month: u8,
day: u8,
hour: u8,
minute: u8,
second: u8,
microsecond: u32,
},
}Variants§
Trait Implementations§
impl<'a> StructuralPartialEq for Date<'a>
Auto Trait Implementations§
impl<'a> Forget for Date<'a>
impl<'a> Freeze for Date<'a>
impl<'a> RefUnwindSafe for Date<'a>
impl<'a> Send for Date<'a>
impl<'a> Sync for Date<'a>
impl<'a> Unpin for Date<'a>
impl<'a> UnsafeUnpin for Date<'a>
impl<'a> UnwindSafe for Date<'a>
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