pub struct FalsificationCriterionV2 {
pub id: String,
pub metric: Option<String>,
pub threshold: f64,
pub condition: String,
pub severity: String,
}Expand description
Single falsification criterion
Fields§
§id: StringCriterion identifier
metric: Option<String>Metric to evaluate
threshold: f64Threshold value
condition: StringCondition expression
severity: StringSeverity level
Trait Implementations§
Source§impl Clone for FalsificationCriterionV2
impl Clone for FalsificationCriterionV2
Source§fn clone(&self) -> FalsificationCriterionV2
fn clone(&self) -> FalsificationCriterionV2
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 FalsificationCriterionV2
impl Debug for FalsificationCriterionV2
Source§impl<'de> Deserialize<'de> for FalsificationCriterionV2
impl<'de> Deserialize<'de> for FalsificationCriterionV2
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 FalsificationCriterionV2
impl RefUnwindSafe for FalsificationCriterionV2
impl Send for FalsificationCriterionV2
impl Sync for FalsificationCriterionV2
impl Unpin for FalsificationCriterionV2
impl UnsafeUnpin for FalsificationCriterionV2
impl UnwindSafe for FalsificationCriterionV2
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