Set the configuration
(mut self, config: HookConfig)
| 89 | |
| 90 | /// Set the configuration |
| 91 | pub fn with_config(mut self, config: HookConfig) -> Self { |
| 92 | self.config = config; |
| 93 | self |
| 94 | } |
| 95 | |
| 96 | /// Check if an event matches this hook |
| 97 | pub fn matches(&self, event: &HookEvent) -> bool { |
no outgoing calls