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 UserAgentimpl DerefMut for UserAgentimpl Header for UserAgentfn header_name() -> &'static strfn parse_header(raw: &[Vec<u8>]) -> Option<UserAgent>impl HeaderFormat for UserAgentfn fmt_header(&self, f: &mut Formatter) -> Resultimpl Display for UserAgentimpl Deref for UserAgentimpl DerefMut for UserAgentimpl Header for UserAgentfn header_name() -> &'static strfn parse_header(raw: &[Vec<u8>]) -> Option<UserAgent>impl HeaderFormat for UserAgentfn fmt_header(&self, f: &mut Formatter) -> Resultimpl Display for UserAgentimpl Debug for UserAgentimpl PartialEq for UserAgentimpl Clone for UserAgentfn clone(&self) -> UserAgentfn clone_from(&mut self, source: &Self)impl Debug for UserAgentimpl PartialEq for UserAgentimpl Clone for UserAgentfn clone(&self) -> UserAgentfn 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).