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