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

pub struct CacheControl(pub Vec<CacheDirective>);

The Cache-Control header.

Trait Implementations

impl Deref for CacheControl

type Target = Vec<CacheDirective>

fn deref<'a>(&'a self) -> &'a Vec<CacheDirective>

impl DerefMut for CacheControl

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

impl Header for CacheControl

fn header_name() -> &'static str

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

impl HeaderFormat for CacheControl

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

impl Deref for CacheControl

type Target = Vec<CacheDirective>

fn deref<'a>(&'a self) -> &'a Vec<CacheDirective>

impl DerefMut for CacheControl

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

impl Header for CacheControl

fn header_name() -> &'static str

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

impl HeaderFormat for CacheControl

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

Derived Implementations

impl Debug for CacheControl

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

impl Clone for CacheControl

fn clone(&self) -> CacheControl

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

impl PartialEq for CacheControl

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

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

impl Debug for CacheControl

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

impl Clone for CacheControl

fn clone(&self) -> CacheControl

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

impl PartialEq for CacheControl

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

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