Struct hyper::header::common::date::Date [-]  [+] [src]

pub struct Date(pub Tm);

The Date header field.

Trait Implementations

impl Deref for Date

type Target = Tm

fn deref<'a>(&'a self) -> &'a Tm

impl DerefMut for Date

fn deref_mut<'a>(&'a mut self) -> &'a mut Tm

impl Header for Date

fn header_name(_: Option<Date>) -> &'static str

fn parse_header(raw: &[Vec<u8>]) -> Option<Date>

impl HeaderFormat for Date

fn fmt_header(&self, fmt: &mut Formatter) -> Result

impl FromStr for Date

fn from_str(s: &str) -> Option<Date>

Derived Implementations

impl Show for Date

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Clone for Date

fn clone(&self) -> Date

fn clone_from(&mut self, source: &Self)

impl PartialEq for Date

fn eq(&self, __arg_0: &Date) -> bool

fn ne(&self, __arg_0: &Date) -> bool

impl Copy for Date