pub type Rate = RateInterface;
Expand description
A Rate
contains the values needed to implement a rate-limiter pattern within a plugin.
§Fields
attempts
- The number of attempts made within the expiration window.expiration
- The expiration timestamp in seconds since the epoch.
Aliased Type§
struct Rate { /* private fields */ }