Struct github_webhook::payload_types::EventPayloadMap
source · pub struct EventPayloadMap<'a> {Show 63 fields
pub branch_protection_rule: BranchProtectionRuleEvent<'a>,
pub check_run: CheckRunEvent<'a>,
pub check_suite: CheckSuiteEvent<'a>,
pub code_scanning_alert: CodeScanningAlertEvent<'a>,
pub commit_comment: CommitCommentEvent<'a>,
pub create: CreateEvent<'a>,
pub delete: DeleteEvent<'a>,
pub dependabot_alert: DependabotAlertEvent<'a>,
pub deploy_key: DeployKeyEvent<'a>,
pub deployment: DeploymentEvent<'a>,
pub deployment_protection_rule: DeploymentProtectionRuleEvent<'a>,
pub deployment_review: DeploymentReviewEvent<'a>,
pub deployment_status: DeploymentStatusEvent<'a>,
pub discussion: DiscussionEvent<'a>,
pub discussion_comment: DiscussionCommentEvent<'a>,
pub fork: ForkEvent<'a>,
pub github_app_authorization: GithubAppAuthorizationEvent<'a>,
pub gollum: GollumEvent<'a>,
pub installation: InstallationEvent<'a>,
pub installation_repositories: InstallationRepositoriesEvent<'a>,
pub installation_target: InstallationTargetEvent<'a>,
pub issue_comment: IssueCommentEvent<'a>,
pub issues: IssuesEvent<'a>,
pub label: LabelEvent<'a>,
pub marketplace_purchase: MarketplacePurchaseEvent<'a>,
pub member: MemberEvent<'a>,
pub membership: MembershipEvent<'a>,
pub merge_group: MergeGroupEvent<'a>,
pub meta: MetaEvent<'a>,
pub milestone: MilestoneEvent<'a>,
pub org_block: OrgBlockEvent<'a>,
pub organization: OrganizationEvent<'a>,
pub package: PackageEvent<'a>,
pub page_build: PageBuildEvent<'a>,
pub ping: PingEvent<'a>,
pub project: ProjectEvent<'a>,
pub project_card: ProjectCardEvent<'a>,
pub project_column: ProjectColumnEvent<'a>,
pub projects_v2_item: ProjectsV2ItemEvent<'a>,
pub public: PublicEvent<'a>,
pub pull_request: PullRequestEvent<'a>,
pub pull_request_review: PullRequestReviewEvent<'a>,
pub pull_request_review_comment: PullRequestReviewCommentEvent<'a>,
pub pull_request_review_thread: PullRequestReviewThreadEvent<'a>,
pub push: PushEvent<'a>,
pub registry_package: RegistryPackageEvent<'a>,
pub release: ReleaseEvent<'a>,
pub repository: RepositoryEvent<'a>,
pub repository_dispatch: RepositoryDispatchEvent<'a>,
pub repository_import: RepositoryImportEvent<'a>,
pub repository_vulnerability_alert: RepositoryVulnerabilityAlertEvent<'a>,
pub secret_scanning_alert: SecretScanningAlertEvent<'a>,
pub secret_scanning_alert_location: SecretScanningAlertLocationEvent<'a>,
pub security_advisory: SecurityAdvisoryEvent<'a>,
pub sponsorship: SponsorshipEvent<'a>,
pub star: StarEvent<'a>,
pub status: StatusEvent<'a>,
pub team: TeamEvent<'a>,
pub team_add: TeamAddEvent<'a>,
pub watch: WatchEvent<'a>,
pub workflow_dispatch: WorkflowDispatchEvent<'a>,
pub workflow_job: WorkflowJobEvent<'a>,
pub workflow_run: WorkflowRunEvent<'a>,
}
Fields§
§branch_protection_rule: BranchProtectionRuleEvent<'a>
§check_run: CheckRunEvent<'a>
§check_suite: CheckSuiteEvent<'a>
§code_scanning_alert: CodeScanningAlertEvent<'a>
§commit_comment: CommitCommentEvent<'a>
§create: CreateEvent<'a>
§delete: DeleteEvent<'a>
§dependabot_alert: DependabotAlertEvent<'a>
§deploy_key: DeployKeyEvent<'a>
§deployment: DeploymentEvent<'a>
§deployment_protection_rule: DeploymentProtectionRuleEvent<'a>
§deployment_review: DeploymentReviewEvent<'a>
§deployment_status: DeploymentStatusEvent<'a>
§discussion: DiscussionEvent<'a>
§discussion_comment: DiscussionCommentEvent<'a>
§fork: ForkEvent<'a>
§gollum: GollumEvent<'a>
§installation: InstallationEvent<'a>
§installation_repositories: InstallationRepositoriesEvent<'a>
§installation_target: InstallationTargetEvent<'a>
§issue_comment: IssueCommentEvent<'a>
§issues: IssuesEvent<'a>
§label: LabelEvent<'a>
§marketplace_purchase: MarketplacePurchaseEvent<'a>
§member: MemberEvent<'a>
§membership: MembershipEvent<'a>
§merge_group: MergeGroupEvent<'a>
§meta: MetaEvent<'a>
§milestone: MilestoneEvent<'a>
§org_block: OrgBlockEvent<'a>
§organization: OrganizationEvent<'a>
§package: PackageEvent<'a>
§page_build: PageBuildEvent<'a>
§ping: PingEvent<'a>
§project: ProjectEvent<'a>
§project_card: ProjectCardEvent<'a>
§project_column: ProjectColumnEvent<'a>
§projects_v2_item: ProjectsV2ItemEvent<'a>
§public: PublicEvent<'a>
§pull_request: PullRequestEvent<'a>
§pull_request_review: PullRequestReviewEvent<'a>
§pull_request_review_comment: PullRequestReviewCommentEvent<'a>
§pull_request_review_thread: PullRequestReviewThreadEvent<'a>
§push: PushEvent<'a>
§registry_package: RegistryPackageEvent<'a>
§release: ReleaseEvent<'a>
§repository: RepositoryEvent<'a>
§repository_dispatch: RepositoryDispatchEvent<'a>
§repository_import: RepositoryImportEvent<'a>
§repository_vulnerability_alert: RepositoryVulnerabilityAlertEvent<'a>
§secret_scanning_alert: SecretScanningAlertEvent<'a>
§secret_scanning_alert_location: SecretScanningAlertLocationEvent<'a>
§security_advisory: SecurityAdvisoryEvent<'a>
§sponsorship: SponsorshipEvent<'a>
§star: StarEvent<'a>
§status: StatusEvent<'a>
§team: TeamEvent<'a>
§team_add: TeamAddEvent<'a>
§watch: WatchEvent<'a>
§workflow_dispatch: WorkflowDispatchEvent<'a>
§workflow_job: WorkflowJobEvent<'a>
§workflow_run: WorkflowRunEvent<'a>
Trait Implementations§
source§impl<'a> Debug for EventPayloadMap<'a>
impl<'a> Debug for EventPayloadMap<'a>
source§impl<'de: 'a, 'a> Deserialize<'de> for EventPayloadMap<'a>
impl<'de: 'a, 'a> Deserialize<'de> for EventPayloadMap<'a>
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl<'a> RefUnwindSafe for EventPayloadMap<'a>
impl<'a> Send for EventPayloadMap<'a>
impl<'a> Sync for EventPayloadMap<'a>
impl<'a> Unpin for EventPayloadMap<'a>
impl<'a> UnwindSafe for EventPayloadMap<'a>
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