Struct hyper::header::common::accept_encoding::AcceptEncoding [-]  [+] [src]

pub struct AcceptEncoding(pub Vec<QualityItem<Encoding>>);

The Accept-Encoding header

The Accept-Encoding header can be used by clients to indicate what response encodings they accept.

Trait Implementations

impl Deref for AcceptEncoding

type Target = Vec<QualityItem<Encoding>>

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

impl DerefMut for AcceptEncoding

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

impl Header for AcceptEncoding

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

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

impl HeaderFormat for AcceptEncoding

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

Derived Implementations

impl Show for AcceptEncoding

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

impl PartialEq for AcceptEncoding

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

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

impl Clone for AcceptEncoding

fn clone(&self) -> AcceptEncoding

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