pub struct DateTime {
pub dayname: DayName,
pub date: Date,
pub time: Time,
}Expand description
A fully decoded HTTP date: weekday, calendar date, and time of day.
This is the value carried by the HttpDate variants.
Fields§
§dayname: DayNameThe day of the week.
date: DateThe calendar date.
time: TimeThe time of day.
Trait Implementations§
impl Copy for DateTime
impl Eq for DateTime
impl StructuralPartialEq for DateTime
Auto Trait Implementations§
impl Freeze for DateTime
impl RefUnwindSafe for DateTime
impl Send for DateTime
impl Sync for DateTime
impl Unpin for DateTime
impl UnsafeUnpin for DateTime
impl UnwindSafe for DateTime
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