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.

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() -> &'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

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

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() -> &'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

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

Derived Implementations

impl Debug 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)

impl Debug 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)