pub struct GenerationStats {
pub total_generated: usize,
pub distribution_info: HashMap<String, Box<dyn Any + Send + Sync>>,
pub coverage_info: CoverageInfo,
pub performance_metrics: GenerationPerformanceMetrics,
}Expand description
Statistics about value generation
Fields§
§total_generated: usizeTotal values generated
distribution_info: HashMap<String, Box<dyn Any + Send + Sync>>Distribution information (type-specific)
coverage_info: CoverageInfoCoverage information for generated value ranges
performance_metrics: GenerationPerformanceMetricsPerformance metrics for generation
Implementations§
Source§impl GenerationStats
impl GenerationStats
Sourcepub fn generate_report(&self) -> String
pub fn generate_report(&self) -> String
Create a comprehensive report of generation statistics
Sourcepub fn get_summary(&self) -> String
pub fn get_summary(&self) -> String
Get a concise summary of the statistics
Sourcepub fn check_coverage_thresholds(
&self,
thresholds: &CoverageThresholds,
) -> CoverageReport
pub fn check_coverage_thresholds( &self, thresholds: &CoverageThresholds, ) -> CoverageReport
Check if coverage meets specified thresholds
Trait Implementations§
Source§impl Debug for GenerationStats
impl Debug for GenerationStats
Source§impl Default for GenerationStats
impl Default for GenerationStats
Source§fn default() -> GenerationStats
fn default() -> GenerationStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GenerationStats
impl !RefUnwindSafe for GenerationStats
impl Send for GenerationStats
impl Sync for GenerationStats
impl Unpin for GenerationStats
impl !UnwindSafe for GenerationStats
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