Struct hyper::header::Expires [-] [+] [src]

pub struct Expires(pub Tm);

The Expires header field.

Trait Implementations

impl Deref for Expires

type Target = Tm

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

impl DerefMut for Expires

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

impl Header for Expires

fn header_name() -> &'static str

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

impl HeaderFormat for Expires

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

impl FromStr for Expires

type Err = ()

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

impl Deref for Expires

type Target = Tm

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

impl DerefMut for Expires

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

impl Header for Expires

fn header_name() -> &'static str

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

impl HeaderFormat for Expires

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

impl FromStr for Expires

type Err = ()

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

Derived Implementations

impl Debug for Expires

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

impl Clone for Expires

fn clone(&self) -> Expires

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

impl PartialEq for Expires

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

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

impl Copy for Expires

impl Debug for Expires

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

impl Clone for Expires

fn clone(&self) -> Expires

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

impl PartialEq for Expires

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

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

impl Copy for Expires