pub struct HttpStatusLine {
pub version: HttpVersion,
pub code: u16,
pub reason: Option<String>,
}Expand description
A parsed HTTP status line.
Fields§
§version: HttpVersion§code: u16§reason: Option<String>Trait Implementations§
Source§impl Clone for HttpStatusLine
impl Clone for HttpStatusLine
Source§fn clone(&self) -> HttpStatusLine
fn clone(&self) -> HttpStatusLine
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 HttpStatusLine
impl Debug for HttpStatusLine
Source§impl Hash for HttpStatusLine
impl Hash for HttpStatusLine
Source§impl PartialEq for HttpStatusLine
impl PartialEq for HttpStatusLine
Source§fn eq(&self, other: &HttpStatusLine) -> bool
fn eq(&self, other: &HttpStatusLine) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for HttpStatusLine
impl StructuralPartialEq for HttpStatusLine
Auto Trait Implementations§
impl Freeze for HttpStatusLine
impl RefUnwindSafe for HttpStatusLine
impl Send for HttpStatusLine
impl Sync for HttpStatusLine
impl Unpin for HttpStatusLine
impl UnsafeUnpin for HttpStatusLine
impl UnwindSafe for HttpStatusLine
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