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

pub struct AccessControlAllowHeaders(pub Vec<UniCase<String>>);

Access-Control-Allow-Headers 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.

ABNF

Access-Control-Allow-Headers: "Access-Control-Allow-Headers" ":" #field-name

Example values

Trait Implementations

impl Deref for AccessControlAllowHeaders

type Target = Vec<UniCase<String>>

fn deref<'a>(&'a self) -> &'a Vec<UniCase<String>>

impl DerefMut for AccessControlAllowHeaders

fn deref_mut<'a>(&'a mut self) -> &'a mut Vec<UniCase<String>>

impl Header for AccessControlAllowHeaders

fn header_name() -> &'static str

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

impl HeaderFormat for AccessControlAllowHeaders

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

impl Display for AccessControlAllowHeaders

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

Derived Implementations

impl PartialEq for AccessControlAllowHeaders

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

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

impl Debug for AccessControlAllowHeaders

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

impl Clone for AccessControlAllowHeaders

fn clone(&self) -> AccessControlAllowHeaders

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