pub struct StressTestReport {
pub config: StressTestConfig,
pub metrics: StressMetrics,
pub duration_actual: Duration,
pub verdict: StressTestVerdict,
pub recommendations: Vec<String>,
pub timestamp: Instant,
}Expand description
Stress test report
Fields§
§config: StressTestConfigTest configuration
metrics: StressMetricsCollected metrics
duration_actual: DurationActual test duration
verdict: StressTestVerdictOverall verdict
recommendations: Vec<String>Recommendations
timestamp: InstantReport timestamp
Implementations§
Source§impl StressTestReport
impl StressTestReport
Sourcepub fn new(
config: StressTestConfig,
metrics: StressMetrics,
duration: Duration,
) -> Self
pub fn new( config: StressTestConfig, metrics: StressMetrics, duration: Duration, ) -> Self
Create a new report
Trait Implementations§
Source§impl Clone for StressTestReport
impl Clone for StressTestReport
Source§fn clone(&self) -> StressTestReport
fn clone(&self) -> StressTestReport
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 StressTestReport
impl RefUnwindSafe for StressTestReport
impl Send for StressTestReport
impl Sync for StressTestReport
impl Unpin for StressTestReport
impl UnsafeUnpin for StressTestReport
impl UnwindSafe for StressTestReport
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