pub struct ParsedResponse {
pub proto: String,
pub proto_major: u8,
pub proto_minor: u8,
pub status: u16,
pub status_text: String,
pub header: Header,
pub body: Body,
pub content_length: i64,
pub transfer_encoding: Vec<String>,
}Expand description
The result of parsing an HTTP/1.1 response line + headers.
Fields§
§proto: String§proto_major: u8§proto_minor: u8§status: u16§status_text: String§header: Header§body: Body§content_length: i64§transfer_encoding: Vec<String>Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ParsedResponse
impl !Sync for ParsedResponse
impl !UnwindSafe for ParsedResponse
impl Freeze for ParsedResponse
impl Send for ParsedResponse
impl Unpin for ParsedResponse
impl UnsafeUnpin for ParsedResponse
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