Struct hyper::header::UserAgent
[-] [+]
[src]
pub struct UserAgent(pub String);
The User-Agent
header field.
They can contain any value, so it just wraps a String
.
pub struct UserAgent(pub String);
The User-Agent
header field.
They can contain any value, so it just wraps a String
.
impl Deref for UserAgent
impl DerefMut for UserAgent
impl Header for UserAgent
fn header_name() -> &'static str
fn parse_header(raw: &[Vec<u8>]) -> Option<UserAgent>
impl HeaderFormat for UserAgent
fn fmt_header(&self, f: &mut Formatter) -> Result
impl Display for UserAgent
impl Deref for UserAgent
impl DerefMut for UserAgent
impl Header for UserAgent
fn header_name() -> &'static str
fn parse_header(raw: &[Vec<u8>]) -> Option<UserAgent>
impl HeaderFormat for UserAgent
fn fmt_header(&self, f: &mut Formatter) -> Result
impl Display for UserAgent
impl Debug for UserAgent
impl PartialEq for UserAgent
impl Clone for UserAgent
fn clone(&self) -> UserAgent
fn clone_from(&mut self, source: &Self)
impl Debug for UserAgent
impl PartialEq for UserAgent
impl Clone for UserAgent
fn clone(&self) -> UserAgent
fn clone_from(&mut self, source: &Self)
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
, enum
,
trait
, typedef
(or
tdef
).