pub fn enforce(
rules: &GateRules,
requested_model: Option<&str>,
tags: &GatewayTags,
) -> Result<(), Refusal>Expand description
The full gate: model ceiling, then budgets, then the per-person rate
limit. Ok(()) forwards (and counts the request against the rate window);
a refusal carries everything needed to render the wire-shape error.