Skip to main content

rate_limit_consume_statements

Function rate_limit_consume_statements 

Source
pub fn rate_limit_consume_statements(
    dialect: SqlDialect,
    table: &str,
    key: &str,
    count: &str,
    last_request: &str,
) -> Result<SqlRateLimitPlan, RustAuthError>
Expand description

Builds the dialect-specific statement trio used by SQL-backed rate-limit stores.