pub fn range(
value: Decimal,
min: Option<Decimal>,
max: Option<Decimal>,
path: &ValidationPath,
out: &mut Violations,
)Expand description
minimum / maximum for numbers.
The bounds are Decimals, not f64s, so the comparison is the exact one the schema
wrote: a maximum of 100 rejects 100.000000000000001 rather than the value it happens
to round to.