Struct austenite::hyper_headers::IfMatch [-]  [+] [src]

pub struct IfMatch(pub EntityTagMatch);

The If-Match header

The If-Match header can be used by clients to indicate what response matchs they if.

Trait Implementations

impl Deref for IfMatch

type Target = EntityTagMatch

fn deref<'a>(&'a self) -> &'a EntityTagMatch

impl DerefMut for IfMatch

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

impl Header for IfMatch

fn header_name() -> &'static str

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

impl HeaderFormat for IfMatch

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

impl FromStr for IfMatch

type Err = ()

fn from_str(s: &str) -> Result<IfMatch, ()>

Derived Implementations

impl Debug for IfMatch

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

impl PartialEq for IfMatch

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

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

impl Clone for IfMatch

fn clone(&self) -> IfMatch

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