pub struct ValidationReport {
pub timestamp: String,
pub git_commit: Option<String>,
pub sample_rate: u32,
pub oversample: u32,
pub suites: BTreeMap<String, SuiteResult>,
pub summary: ReportSummary,
}Expand description
Full validation report.
Fields§
§timestamp: StringTimestamp of the validation run.
git_commit: Option<String>Git commit hash (if available).
sample_rate: u32Sample rate used.
oversample: u32Oversampling factor.
suites: BTreeMap<String, SuiteResult>Suite results.
summary: ReportSummarySummary statistics.
Implementations§
Source§impl ValidationReport
impl ValidationReport
Sourcepub fn new(
suites: BTreeMap<String, SuiteResult>,
sample_rate: u32,
oversample: u32,
) -> Self
pub fn new( suites: BTreeMap<String, SuiteResult>, sample_rate: u32, oversample: u32, ) -> Self
Create a new report from suite results.
Sourcepub fn print_summary(&self)
pub fn print_summary(&self)
Print human-readable summary to terminal.
Sourcepub fn print_detailed(&self)
pub fn print_detailed(&self)
Print detailed metrics table.
Trait Implementations§
Source§impl Clone for ValidationReport
impl Clone for ValidationReport
Source§fn clone(&self) -> ValidationReport
fn clone(&self) -> ValidationReport
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 moreSource§impl Debug for ValidationReport
impl Debug for ValidationReport
Source§impl<'de> Deserialize<'de> for ValidationReport
impl<'de> Deserialize<'de> for ValidationReport
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ValidationReport
impl RefUnwindSafe for ValidationReport
impl Send for ValidationReport
impl Sync for ValidationReport
impl Unpin for ValidationReport
impl UnsafeUnpin for ValidationReport
impl UnwindSafe for ValidationReport
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