pub struct HarResponse {
pub status: u16,
pub status_text: String,
pub http_version: String,
pub cookies: Vec<HarCookie>,
pub headers: Vec<HarHeader>,
pub content: HarContent,
pub redirect_url: String,
pub headers_size: i64,
pub body_size: i64,
}Expand description
HAR response structure
Fields§
§status: u16HTTP status code
status_text: StringHTTP status text
http_version: StringHTTP version (e.g., “HTTP/1.1”)
Response cookies
headers: Vec<HarHeader>Response headers
content: HarContentResponse content
redirect_url: StringRedirect URL (if applicable)
headers_size: i64Size of response headers (bytes)
body_size: i64Size of response body (bytes)
Trait Implementations§
Source§impl Debug for HarResponse
impl Debug for HarResponse
Source§impl<'de> Deserialize<'de> for HarResponse
impl<'de> Deserialize<'de> for HarResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for HarResponse
impl RefUnwindSafe for HarResponse
impl Send for HarResponse
impl Sync for HarResponse
impl Unpin for HarResponse
impl UnsafeUnpin for HarResponse
impl UnwindSafe for HarResponse
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