[−][src]Trait carapax_ratelimit::RateLimitKey
A key to filter updates
Associated Types
Loading content...Required methods
fn get_key(&self, update: &Update) -> Option<Self::Key>
Returns a key from given update
Considered missing when None is returned
Implementors
impl RateLimitKey for RateLimitList
[src]
impl<F, K> RateLimitKey for F where
F: Fn(&Update) -> Option<K>,
K: Clone + Eq + Hash,
[src]
F: Fn(&Update) -> Option<K>,
K: Clone + Eq + Hash,