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

pub struct AcceptLanguage(pub Vec<QualityItem<Language>>);

The Accept-Language header

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

Trait Implementations

impl Deref for AcceptLanguage

type Target = Vec<QualityItem<Language>>

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

impl DerefMut for AcceptLanguage

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

impl Header for AcceptLanguage

fn header_name() -> &'static str

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

impl HeaderFormat for AcceptLanguage

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

impl Display for AcceptLanguage

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

impl Deref for AcceptLanguage

type Target = Vec<QualityItem<Language>>

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

impl DerefMut for AcceptLanguage

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

impl Header for AcceptLanguage

fn header_name() -> &'static str

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

impl HeaderFormat for AcceptLanguage

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

impl Display for AcceptLanguage

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

Derived Implementations

impl Debug for AcceptLanguage

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

impl PartialEq for AcceptLanguage

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

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

impl Clone for AcceptLanguage

fn clone(&self) -> AcceptLanguage

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

impl Debug for AcceptLanguage

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

impl PartialEq for AcceptLanguage

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

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

impl Clone for AcceptLanguage

fn clone(&self) -> AcceptLanguage

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