pub fn require_min(
field: &str,
value: i64,
bound: NumericBound,
) -> Option<ValidationError>Expand description
A numeric knob must meet its NumericBound’s minimum — the shared one-liner
behind every Option<u32> count / Option<i64> rate field (e.g.
RepositoryReplication.spec.sync.parallel), so the rule, its minimum, AND its
rationale are written once instead of re-derived per field. field names the
exact path for the message (e.g. "RepositoryReplication spec.sync.parallel").
Callers only invoke this for a Some value — an absent knob is always valid
and never reaches this helper.