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

pub struct AccessControlAllowHeaders(pub Vec<String>);

The Access-Control-Allow-Headers response header, part of CORS.

The Access-Control-Allow-Headers header indicates, as part of the response to a preflight request, which header field names can be used during the actual request.

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

Trait Implementations

impl Header for AccessControlAllowHeaders

fn header_name() -> &'static str

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

impl HeaderFormat for AccessControlAllowHeaders

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

impl Header for AccessControlAllowHeaders

fn header_name() -> &'static str

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

impl HeaderFormat for AccessControlAllowHeaders

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

impl Header for AccessControlAllowHeaders

fn header_name() -> &'static str

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

impl HeaderFormat for AccessControlAllowHeaders

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

Derived Implementations

impl Debug for AccessControlAllowHeaders

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

impl PartialEq for AccessControlAllowHeaders

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

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

impl Clone for AccessControlAllowHeaders

fn clone(&self) -> AccessControlAllowHeaders

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

impl Debug for AccessControlAllowHeaders

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

impl PartialEq for AccessControlAllowHeaders

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

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

impl Clone for AccessControlAllowHeaders

fn clone(&self) -> AccessControlAllowHeaders

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

impl Debug for AccessControlAllowHeaders

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

impl PartialEq for AccessControlAllowHeaders

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

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

impl Clone for AccessControlAllowHeaders

fn clone(&self) -> AccessControlAllowHeaders

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