Struct uhttp_request::Header [] [src]

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

An HTTP request header field [RFC7230§3.2].

Fields

Header name, with surrounding whitespace trimmed.

This is not guaranteed to be free of internal whitespace or otherwise syntactically correct.

Raw header value.

Trait Implementations

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

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

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

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

This method tests for !=.

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

Formats the value using the given formatter.

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

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more