Struct iron::headers::HttpDate
[−]
[src]
pub struct HttpDate(pub Tm);
A time::Time
with HTTP formatting and parsing
Trait Implementations
impl Ord for HttpDate
impl PartialOrd<HttpDate> for HttpDate
fn partial_cmp(&self, __arg_0: &HttpDate) -> Option<Ordering>
fn lt(&self, __arg_0: &HttpDate) -> bool
fn le(&self, __arg_0: &HttpDate) -> bool
fn gt(&self, __arg_0: &HttpDate) -> bool
fn ge(&self, __arg_0: &HttpDate) -> bool
impl Eq for HttpDate
impl PartialEq<HttpDate> for HttpDate
fn eq(&self, __arg_0: &HttpDate) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &HttpDate) -> bool
This method tests for !=
.
impl Debug for HttpDate
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl Copy for HttpDate
impl Clone for HttpDate
fn clone(&self) -> HttpDate
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more