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

pub struct Allow(pub Vec<Method>);

The Allow header. See also https://tools.ietf.org/html/rfc7231#section-7.4.1

Trait Implementations

impl Deref for Allow

type Target = Vec<Method>

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

impl DerefMut for Allow

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

impl Header for Allow

fn header_name() -> &'static str

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

impl HeaderFormat for Allow

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

impl Display for Allow

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

impl Deref for Allow

type Target = Vec<Method>

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

impl DerefMut for Allow

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

impl Header for Allow

fn header_name() -> &'static str

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

impl HeaderFormat for Allow

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

impl Display for Allow

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

Derived Implementations

impl Debug for Allow

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

impl PartialEq for Allow

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

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

impl Clone for Allow

fn clone(&self) -> Allow

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

impl Debug for Allow

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

impl PartialEq for Allow

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

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

impl Clone for Allow

fn clone(&self) -> Allow

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