pub struct Date(HttpDate);
Expand description
Tuple Fields§
§0: HttpDate
Trait Implementations§
source§impl From<Date> for SystemTime
impl From<Date> for SystemTime
source§fn from(date: Date) -> SystemTime
fn from(date: Date) -> SystemTime
Converts to this type from the input type.
source§impl From<SystemTime> for Date
impl From<SystemTime> for Date
source§fn from(time: SystemTime) -> Date
fn from(time: SystemTime) -> Date
Converts to this type from the input type.
source§impl Header for Date
impl Header for Date
source§impl Ord for Date
impl Ord for Date
source§impl PartialEq for Date
impl PartialEq for Date
source§impl PartialOrd for Date
impl PartialOrd for Date
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Date
impl Eq for Date
impl StructuralPartialEq for Date
Auto Trait Implementations§
impl Freeze for Date
impl RefUnwindSafe for Date
impl Send for Date
impl Sync for Date
impl Unpin for Date
impl UnwindSafe for Date
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