Struct hyper::http::RawStatus [] [src]

pub struct RawStatus(pub u16, pub Cow<'static, str>);

The raw status code and reason-phrase.

Trait Implementations

impl Serialize for RawStatus

fn serialize<S>(&self, serializer: &mut S) -> Result<(), S::Error> where S: Serializer

impl Deserialize for RawStatus

fn deserialize<D>(deserializer: &mut D) -> Result<RawStatus, D::Error> where D: Deserializer

Derived Implementations

impl Debug for RawStatus

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

impl PartialEq for RawStatus

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

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

impl Clone for RawStatus

fn clone(&self) -> RawStatus

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