Struct hyper::header::Date [] [src]

pub struct Date(pub HttpDate);

Date header, defined in RFC7231

The Date header field represents the date and time at which the message was originated.

ABNF

Date = HTTP-date

Example values

Trait Implementations

impl Deref for Date

type Target = HttpDate

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

impl DerefMut for Date

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

impl Header for Date

fn header_name() -> &'static str

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

impl HeaderFormat for Date

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

impl Display for Date

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

Derived Implementations

impl PartialEq for Date

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

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

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)