pub struct ResponseHead {
pub status: u16,
pub headers: Vec<HeaderField>,
pub mode: ResponseMode,
}Expand description
Fields released after a valid START tag.
Fields§
§status: u16Inner HTTP status.
headers: Vec<HeaderField>Ordered checked fields.
mode: ResponseModeResponse body kind.
Trait Implementations§
Source§impl Clone for ResponseHead
impl Clone for ResponseHead
Source§impl Debug for ResponseHead
impl Debug for ResponseHead
impl Eq for ResponseHead
Source§impl PartialEq for ResponseHead
impl PartialEq for ResponseHead
impl StructuralPartialEq for ResponseHead
Auto Trait Implementations§
impl Freeze for ResponseHead
impl RefUnwindSafe for ResponseHead
impl Send for ResponseHead
impl Sync for ResponseHead
impl Unpin for ResponseHead
impl UnsafeUnpin for ResponseHead
impl UnwindSafe for ResponseHead
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