Struct hyper::http::RawStatus
[−]
[src]
pub struct RawStatus(pub u16, pub Cow<'static, str>);
The raw status code and reason-phrase.
Trait Implementations
impl Clone for RawStatus
[src]
fn clone(&self) -> RawStatus
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for RawStatus
[src]
fn eq(&self, __arg_0: &RawStatus) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &RawStatus) -> bool
This method tests for !=
.
impl Debug for RawStatus
[src]
impl Serialize for RawStatus
[src]
fn serialize<S>(&self, serializer: &mut S) -> Result<(), S::Error> where S: Serializer
Serializes this value into this serializer.
impl Deserialize for RawStatus
[src]
fn deserialize<D>(deserializer: &mut D) -> Result<RawStatus, D::Error> where D: Deserializer
Deserialize this value given this Deserializer
.