pub struct FalsificationCriterion {
pub id: String,
pub name: String,
pub metric: String,
pub threshold: f64,
pub condition: String,
pub tolerance: f64,
pub severity: Severity,
}Expand description
A single falsification criterion.
Fields§
§id: StringUnique criterion ID (e.g., “TSP-GAP-001”).
name: StringHuman-readable name.
metric: StringMetric being evaluated.
threshold: f64Threshold value.
condition: StringCondition expression (e.g., “gap <= threshold”).
tolerance: f64Tolerance for floating-point comparisons.
severity: SeveritySeverity level.
Trait Implementations§
Source§impl Clone for FalsificationCriterion
impl Clone for FalsificationCriterion
Source§fn clone(&self) -> FalsificationCriterion
fn clone(&self) -> FalsificationCriterion
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 FalsificationCriterion
impl Debug for FalsificationCriterion
Source§impl<'de> Deserialize<'de> for FalsificationCriterion
impl<'de> Deserialize<'de> for FalsificationCriterion
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 FalsificationCriterion
impl RefUnwindSafe for FalsificationCriterion
impl Send for FalsificationCriterion
impl Sync for FalsificationCriterion
impl Unpin for FalsificationCriterion
impl UnsafeUnpin for FalsificationCriterion
impl UnwindSafe for FalsificationCriterion
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