git-next-core 0.14.1

core for git-next, the trunk-based development manager
Documentation
//
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
    }
}