pub struct HttpDate(_);
Expand description
A timestamp with HTTP formatting and parsing
Trait Implementations§
source§impl From<HttpDate> for SystemTime
impl From<HttpDate> for SystemTime
source§fn from(date: HttpDate) -> SystemTime
fn from(date: HttpDate) -> SystemTime
Converts to this type from the input type.
source§impl From<SystemTime> for HttpDate
impl From<SystemTime> for HttpDate
source§fn from(sys: SystemTime) -> HttpDate
fn from(sys: SystemTime) -> HttpDate
Converts to this type from the input type.
source§impl Ord for HttpDate
impl Ord for HttpDate
source§impl PartialOrd<HttpDate> for HttpDate
impl PartialOrd<HttpDate> for HttpDate
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 more