pub struct NetworkEntry {
pub frame_ref: Option<String>,
pub page_ref: Option<String>,
pub monotonic_time: Option<f64>,
pub started_date_time: String,
pub time: Option<f64>,
pub request: RequestSnapshot,
pub response: ResponseSnapshot,
pub raw_snapshot: Value,
}Expand description
One entry from trace.network — a HAR-like resource snapshot
recording a single HTTP request/response pair (or a single redirect
step in a chain).
Fields§
§frame_ref: Option<String>_frameref — frame GUID. None when the trace was recorded
with includeTraceInfo: false.
page_ref: Option<String>pageref — page GUID.
monotonic_time: Option<f64>_monotonicTime (ms). None when includeTraceInfo was
disabled at record time.
started_date_time: StringstartedDateTime — ISO-8601 wall-clock timestamp of the
request start.
time: Option<f64>Total request+response time in ms. None when timings weren’t
captured (HAR-spec -1 sentinel mapped to None at parse time).
request: RequestSnapshot§response: ResponseSnapshot§raw_snapshot: ValueHAR fields we don’t model individually (cookies, timings,
cache, queryString, _transferSize, …). Preserved verbatim
for forward-compat and for callers that need them.
Trait Implementations§
Source§impl Clone for NetworkEntry
impl Clone for NetworkEntry
Source§fn clone(&self) -> NetworkEntry
fn clone(&self) -> NetworkEntry
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 moreAuto Trait Implementations§
impl Freeze for NetworkEntry
impl RefUnwindSafe for NetworkEntry
impl Send for NetworkEntry
impl Sync for NetworkEntry
impl Unpin for NetworkEntry
impl UnsafeUnpin for NetworkEntry
impl UnwindSafe for NetworkEntry
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