Skip to main content

POLITICAS_KEY_RATE_LIMIT

Constant POLITICAS_KEY_RATE_LIMIT 

Source
pub const POLITICAS_KEY_RATE_LIMIT: &str = "rateLimit";
Expand description

Canonical camelCase JSON/YAML top-level key for the crate::aplicacao::MeshPolicy struct’s rate_limit token-bucket-rate-limit axis — the rateLimit: field the M3 Aplicacao’s #[serde(rename_all = "camelCase")] derive on crate::aplicacao::MeshPolicy emits at the singleton :politicas block, and the exact camelCase scalar (Rust field rate_limit → serde-emitted rateLimit) every downstream rate-limit consumer must probe on (the future M4 per-edge :politicas overlay projection onto the mesh’s per-backend token-bucket (rate, window) decoder driven by the canonical [crate::aplicacao::rate_limit_codec] unit-suffix bijection). Peer of POLITICAS_KEY_TIMEOUT on the same crate::aplicacao::MeshPolicy singleton serialized-key axis; see POLITICAS_KEY_TIMEOUT for the full lift rationale.