Struct austenite::hyper_headers::AcceptCharset [-]  [+] [src]

pub struct AcceptCharset(pub Vec<QualityItem<Charset>>);

The Accept-Charset header

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

Trait Implementations

impl Deref for AcceptCharset

type Target = Vec<QualityItem<Charset>>

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

impl DerefMut for AcceptCharset

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

impl Header for AcceptCharset

fn header_name() -> &'static str

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

impl HeaderFormat for AcceptCharset

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

impl Display for AcceptCharset

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

Derived Implementations

impl Debug for AcceptCharset

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

impl PartialEq for AcceptCharset

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

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

impl Clone for AcceptCharset

fn clone(&self) -> AcceptCharset

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