svix 1.94.0

Svix webhooks API client and webhook verification library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// this file is @generated
use super::OperationalWebhookEndpoint;
use crate::Configuration;

pub struct OperationalWebhook<'a> {
    cfg: &'a Configuration,
}

impl<'a> OperationalWebhook<'a> {
    pub(super) fn new(cfg: &'a Configuration) -> Self {
        Self { cfg }
    }

    pub fn endpoint(&self) -> OperationalWebhookEndpoint<'a> {
        OperationalWebhookEndpoint::new(self.cfg)
    }
}