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
name: &'a str
Header name, with surrounding whitespace trimmed.
This is not guaranteed to be free of internal whitespace or otherwise syntactically correct.
val: &'a [u8]
Raw header value.
Trait Implementations
impl<'a> Copy for Header<'a>
[src]
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> Eq for Header<'a>
[src]
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 !=
.