Struct hyper::header::common::server::Server [-]  [+] [src]

pub struct Server(pub String);

The Server header field.

They can contain any value, so it just wraps a String.

Trait Implementations

impl Deref for Server

type Target = String

fn deref<'a>(&'a self) -> &'a String

impl DerefMut for Server

fn deref_mut<'a>(&'a mut self) -> &'a mut String

impl Header for Server

fn header_name(_: Option<Server>) -> &'static str

fn parse_header(raw: &[Vec<u8>]) -> Option<Server>

impl HeaderFormat for Server

fn fmt_header(&self, fmt: &mut Formatter) -> Result

Derived Implementations

impl Show for Server

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl PartialEq for Server

fn eq(&self, __arg_0: &Server) -> bool

fn ne(&self, __arg_0: &Server) -> bool

impl Clone for Server

fn clone(&self) -> Server

fn clone_from(&mut self, source: &Self)