Skip to main content

FixedWindowPerHour

Type Alias FixedWindowPerHour 

Source
pub type FixedWindowPerHour<const COUNT: usize, K, B = MemoryBackend> = FixedWindowLimit<COUNT, 3_600_000, K, B>;
Expand description

Fixed-window rate limit configured to apply per hour.

Aliased Type§

pub struct FixedWindowPerHour<const COUNT: usize, K, B = MemoryBackend>(pub <K as Key>::Extractor, pub PhantomData<B>);

Tuple Fields§

§0: <K as Key>::Extractor§1: PhantomData<B>