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

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

impl HeaderFormat for AcceptEncoding

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

impl Display for AcceptEncoding

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

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

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

impl HeaderFormat for AcceptEncoding

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

impl Display for AcceptEncoding

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

Derived Implementations

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

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