pub struct ValidatedGithubAppConfig {
pub app_id: String,
pub webhook_secret: String,
pub private_key_file: String,
pub webhook_path: String,
pub api_base: Option<String>,
}Expand description
Validated runtime configuration (fail-closed on missing secret or unreadable key).
Fields§
§app_id: String§webhook_secret: String§private_key_file: String§webhook_path: String§api_base: Option<String>Trait Implementations§
Auto Trait Implementations§
impl Forget for ValidatedGithubAppConfig
impl Freeze for ValidatedGithubAppConfig
impl Move for ValidatedGithubAppConfig
impl RefUnwindSafe for ValidatedGithubAppConfig
impl Send for ValidatedGithubAppConfigwhere
RawVecInner: Send,
impl Sync for ValidatedGithubAppConfigwhere
RawVecInner: Sync,
impl Unpin for ValidatedGithubAppConfig
impl UnsafeUnpin for ValidatedGithubAppConfig
impl UnwindSafe for ValidatedGithubAppConfigwhere
RawVecInner: UnwindSafe,
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