Struct httparse::Header [] [src]

pub struct Header<'a> {
    pub name: &'a str,
    pub value: &'a [u8],
}

Fields

name: &'a str value: &'a [u8]

Trait Implementations

impl<'a> Debug for Header<'a>
[src]

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

Formats the value using the given formatter.

impl<'a> PartialEq for Header<'a>
[src]

fn eq(&self, __arg_0: &Header<'a>) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &Header<'a>) -> bool

This method tests for !=.

impl<'a> Clone for Header<'a>
[src]

fn clone(&self) -> Header<'a>

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more

impl<'a> Copy for Header<'a>
[src]