pub struct RunStats {
pub elapsed: Duration,
pub template_duration: Option<Duration>,
pub response_stats: Option<ResponseStats>,
pub results: Vec<RequestResult>,
pub mode: RunMode,
pub curve_duration: Option<Duration>,
pub curve_stages: Option<Vec<Stage>>,
pub total_requests: usize,
pub total_failures: usize,
pub sample_rate: f64,
pub min_sample_rate: f64,
}Fields§
§elapsed: Duration§template_duration: Option<Duration>§response_stats: Option<ResponseStats>§results: Vec<RequestResult>§mode: RunMode§curve_duration: Option<Duration>Total curve duration (only meaningful when mode == RunMode::Curve).
curve_stages: Option<Vec<Stage>>Curve stages captured from the LoadCurve after execution.
Some only when mode == RunMode::Curve.
total_requests: usizeActual (unsampled) total request count.
total_failures: usizeActual (unsampled) failure count.
sample_rate: f64Final VU-threshold sample rate at end of run (1.0 = no threshold sampling).
min_sample_rate: f64Lowest sample rate observed at any point during the run.
Auto Trait Implementations§
impl Freeze for RunStats
impl RefUnwindSafe for RunStats
impl Send for RunStats
impl Sync for RunStats
impl Unpin for RunStats
impl UnsafeUnpin for RunStats
impl UnwindSafe for RunStats
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