pub struct RequestRecord {
pub duration: Duration,
pub completed_at: Instant,
pub success: bool,
pub status_code: Option<u16>,
pub extraction: Option<ExtractionResult>,
}Expand description
Lightweight per-request record sent from VU to coordinator over the channel.
Unlike RequestResult, carries no raw response body — any extraction is done
inside the VU before sending, keeping KB-sized bodies off the channel.
Fields§
§duration: Duration§completed_at: InstantWall-clock instant at which the response was received (or the error occurred). Used by the drain task to bucket results into per-stage windows in curve mode.
success: bool§status_code: Option<u16>§extraction: Option<ExtractionResult>Present only when a response template is active and extraction succeeded.
Auto Trait Implementations§
impl Freeze for RequestRecord
impl RefUnwindSafe for RequestRecord
impl Send for RequestRecord
impl Sync for RequestRecord
impl Unpin for RequestRecord
impl UnsafeUnpin for RequestRecord
impl UnwindSafe for RequestRecord
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