pub struct GithubAppWebhookState {
pub config: ValidatedGithubAppConfig,
/* private fields */
}Expand description
Shared runtime state attached to ServeHttpOptions.
Fields§
§config: ValidatedGithubAppConfigImplementations§
Source§impl GithubAppWebhookState
impl GithubAppWebhookState
pub fn new(config: ValidatedGithubAppConfig) -> Self
pub fn with_hook(config: ValidatedGithubAppConfig, hook: AsyncEventHook) -> Self
Auto Trait Implementations§
impl !Freeze for GithubAppWebhookState
impl !RefUnwindSafe for GithubAppWebhookState
impl !UnwindSafe for GithubAppWebhookState
impl Forget for GithubAppWebhookState
impl Move for GithubAppWebhookState
impl Send for GithubAppWebhookState
impl Sync for GithubAppWebhookState
impl Unpin for GithubAppWebhookState
impl UnsafeUnpin for GithubAppWebhookStatewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
Align4<u32>: UnsafeUnpin,
Align1<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<(String, ())>: UnsafeUnpin,
*const ArcInner<dyn Fn(VerifiedWebhookEvent) + Send + Sync> is !null: UnsafeUnpin,
PhantomData<ArcInner<dyn Fn(VerifiedWebhookEvent) + Send + Sync>>: UnsafeUnpin,
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