Struct hyper::header::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() -> &'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

type Err = ()

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

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() -> &'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

type Err = ()

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

Derived Implementations

impl Debug 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

impl Debug 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