pub trait NumericConstraint {
// Required methods
fn validate_f64(&self, value: f64) -> ConstraintResult;
fn name(&self) -> &'static str;
}Expand description
Trait for validation constraints operating on numeric values
pub trait NumericConstraint {
// Required methods
fn validate_f64(&self, value: f64) -> ConstraintResult;
fn name(&self) -> &'static str;
}Trait for validation constraints operating on numeric values