pub struct WebhookProcessor { /* private fields */ }Expand description
Webhook processor for Jira events
Implementations§
Source§impl WebhookProcessor
impl WebhookProcessor
Sourcepub fn new(webhook_secret: Option<String>) -> Self
pub fn new(webhook_secret: Option<String>) -> Self
Create a new webhook processor
§Arguments
webhook_secret- Optional secret for webhook signature verification
Sourcepub async fn register_handler(&self, handler: Arc<dyn WebhookHandler>)
pub async fn register_handler(&self, handler: Arc<dyn WebhookHandler>)
Auto Trait Implementations§
impl !RefUnwindSafe for WebhookProcessor
impl !UnwindSafe for WebhookProcessor
impl Freeze for WebhookProcessor
impl Send for WebhookProcessor
impl Sync for WebhookProcessor
impl Unpin for WebhookProcessor
impl UnsafeUnpin for WebhookProcessor
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more