pub struct FalsificationResult {
pub falsified: bool,
pub falsifying_params: Option<HashMap<String, f64>>,
pub violated_criterion: Option<String>,
pub robustness: f64,
pub tests_performed: usize,
pub summary: String,
}Expand description
Result of a falsification search.
Fields§
§falsified: boolWhether any falsifying condition was found
falsifying_params: Option<HashMap<String, f64>>The parameter values that caused falsification (if any)
violated_criterion: Option<String>Which criterion was violated (if any)
robustness: f64Robustness degree (positive = satisfied, negative = violated)
tests_performed: usizeNumber of parameter combinations tested
summary: StringHuman-readable summary
Implementations§
Trait Implementations§
Source§impl Clone for FalsificationResult
impl Clone for FalsificationResult
Source§fn clone(&self) -> FalsificationResult
fn clone(&self) -> FalsificationResult
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 FalsificationResult
impl RefUnwindSafe for FalsificationResult
impl Send for FalsificationResult
impl Sync for FalsificationResult
impl Unpin for FalsificationResult
impl UnsafeUnpin for FalsificationResult
impl UnwindSafe for FalsificationResult
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