pub struct ResponseStatus(pub StatusCode, pub Option<String>);
Expand description
Represents the status of the Response. This includes HTTP Status Code & Reason Phrase as per RFC-2616.
Tuple Fields§
§0: StatusCode
§1: Option<String>
Trait Implementations§
Source§impl Clone for ResponseStatus
impl Clone for ResponseStatus
Source§fn clone(&self) -> ResponseStatus
fn clone(&self) -> ResponseStatus
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ResponseStatus
impl Debug for ResponseStatus
Auto Trait Implementations§
impl Freeze for ResponseStatus
impl RefUnwindSafe for ResponseStatus
impl Send for ResponseStatus
impl Sync for ResponseStatus
impl Unpin for ResponseStatus
impl UnwindSafe for ResponseStatus
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more