//
use crate::config::{WebhookAuth, WebhookId};
#[derive(Debug, derive_more::Constructor)]
pub struct RegisteredWebhook {
id: WebhookId,
auth: WebhookAuth,
}
impl RegisteredWebhook {
#[must_use]
pub const fn id(&self) -> &WebhookId {
&self.id
}
#[must_use]
pub const fn auth(&self) -> &WebhookAuth {
&self.auth
}
}