pub struct DiagnosticTestResult {
pub test_name: String,
pub statistic: f64,
pub p_value: f64,
pub passed: bool,
pub interpretation: String,
pub guidance: String,
}Expand description
Result of a diagnostic test.
Contains the test statistic, p-value, pass/fail indication, and human-readable interpretation and guidance for the test result.
§Fields
test_name- Name of the diagnostic teststatistic- Test statistic valuep_value- P-value for the testpassed- Whether the null hypothesis was not rejected (assumption met)interpretation- Human-readable explanation of the resultguidance- Recommendations based on the test result
Fields§
§test_name: String§statistic: f64§p_value: f64§passed: bool§interpretation: String§guidance: StringTrait Implementations§
Source§impl Clone for DiagnosticTestResult
impl Clone for DiagnosticTestResult
Source§fn clone(&self) -> DiagnosticTestResult
fn clone(&self) -> DiagnosticTestResult
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 moreSource§impl Debug for DiagnosticTestResult
impl Debug for DiagnosticTestResult
Auto Trait Implementations§
impl Freeze for DiagnosticTestResult
impl RefUnwindSafe for DiagnosticTestResult
impl Send for DiagnosticTestResult
impl Sync for DiagnosticTestResult
impl Unpin for DiagnosticTestResult
impl UnwindSafe for DiagnosticTestResult
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