pub struct HarResponseData {
pub status: u16,
pub status_text: String,
pub headers: Vec<(String, String)>,
pub body: Option<String>,
pub timing_ms: Option<u64>,
}Expand description
Response data extracted from a HAR entry.
Fields§
§status: u16HTTP status code.
status_text: StringHTTP status text.
headers: Vec<(String, String)>Response headers.
body: Option<String>Response body (if available).
timing_ms: Option<u64>Timing to simulate (in milliseconds).
Trait Implementations§
Source§impl Clone for HarResponseData
impl Clone for HarResponseData
Source§fn clone(&self) -> HarResponseData
fn clone(&self) -> HarResponseData
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 moreAuto Trait Implementations§
impl Freeze for HarResponseData
impl RefUnwindSafe for HarResponseData
impl Send for HarResponseData
impl Sync for HarResponseData
impl Unpin for HarResponseData
impl UnwindSafe for HarResponseData
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