Struct hyper::header::Server
[-] [+]
[src]
pub struct Server(pub String);
The Server
header field.
They can contain any value, so it just wraps a String
.
pub struct Server(pub String);
The Server
header field.
They can contain any value, so it just wraps a String
.
impl Deref for Server
impl DerefMut for Server
impl Header for Server
fn header_name() -> &'static str
fn parse_header(raw: &[Vec<u8>]) -> Option<Server>
impl HeaderFormat for Server
fn fmt_header(&self, f: &mut Formatter) -> Result
impl Display for Server
impl Deref for Server
impl DerefMut for Server
impl Header for Server
fn header_name() -> &'static str
fn parse_header(raw: &[Vec<u8>]) -> Option<Server>
impl HeaderFormat for Server
fn fmt_header(&self, f: &mut Formatter) -> Result
impl Display for Server
impl Debug for Server
impl PartialEq for Server
impl Clone for Server
fn clone(&self) -> Server
fn clone_from(&mut self, source: &Self)
impl Debug for Server
impl PartialEq for Server
impl Clone for Server
fn clone(&self) -> Server
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
).