Struct websocket::header::Origin [] [src]

pub struct Origin(pub String);

Represents an Origin header

Trait Implementations

impl Deref for Origin

type Target = String

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

impl Header for Origin

fn header_name() -> &'static str

fn parse_header(raw: &[Vec<u8>]) -> Result<Origin>

impl HeaderFormat for Origin

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

Derived Implementations

impl Debug for Origin

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

impl Clone for Origin

fn clone(&self) -> Origin

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

impl PartialEq for Origin

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

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