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

pub struct AccessControlRequestHeaders(pub Vec<String>);

The Access-Control-Request-Headers request header, part of CORS.

The Access-Control-Request-Headers header indicates which headers will be used in the actual request as part of the preflight request.

Spec: www.w3.org/TR/cors/#access-control-request-headers-request-header

Trait Implementations

impl Header for AccessControlRequestHeaders

fn header_name() -> &'static str

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

impl HeaderFormat for AccessControlRequestHeaders

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

impl Header for AccessControlRequestHeaders

fn header_name() -> &'static str

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

impl HeaderFormat for AccessControlRequestHeaders

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

impl Header for AccessControlRequestHeaders

fn header_name() -> &'static str

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

impl HeaderFormat for AccessControlRequestHeaders

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

Derived Implementations

impl Debug for AccessControlRequestHeaders

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

impl PartialEq for AccessControlRequestHeaders

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

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

impl Clone for AccessControlRequestHeaders

fn clone(&self) -> AccessControlRequestHeaders

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

impl Debug for AccessControlRequestHeaders

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

impl PartialEq for AccessControlRequestHeaders

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

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

impl Clone for AccessControlRequestHeaders

fn clone(&self) -> AccessControlRequestHeaders

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

impl Debug for AccessControlRequestHeaders

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

impl PartialEq for AccessControlRequestHeaders

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

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

impl Clone for AccessControlRequestHeaders

fn clone(&self) -> AccessControlRequestHeaders

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