Skip to main content

accepts

Function accepts 

Source
pub fn accepts(job: &CronJob, secret: &str) -> bool
Expand description

Whether job is an enabled event job on webhook_local, and secret is its secret. The hashes are compared in constant time. A job that is not one, or is off, never matches: the caller answers all of those the same way.