Struct hyper::header::common::allow::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(_: Option<Allow>) -> &'static str

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

impl HeaderFormat for Allow

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

Derived Implementations

impl Show 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)