Enum github_webhook::payload_types::Schema
source · pub enum Schema<'a> {
Show 63 variants
BranchProtectionRuleEvent(BranchProtectionRuleEvent<'a>),
CheckRunEvent(CheckRunEvent<'a>),
CheckSuiteEvent(CheckSuiteEvent<'a>),
CodeScanningAlertEvent(CodeScanningAlertEvent<'a>),
CommitCommentEvent(CommitCommentEvent<'a>),
CreateEvent(CreateEvent<'a>),
DeleteEvent(DeleteEvent<'a>),
DependabotAlertEvent(DependabotAlertEvent<'a>),
DeployKeyEvent(DeployKeyEvent<'a>),
DeploymentEvent(DeploymentEvent<'a>),
DeploymentProtectionRuleEvent(DeploymentProtectionRuleEvent<'a>),
DeploymentReviewEvent(DeploymentReviewEvent<'a>),
DeploymentStatusEvent(DeploymentStatusEvent<'a>),
DiscussionEvent(DiscussionEvent<'a>),
DiscussionCommentEvent(DiscussionCommentEvent<'a>),
ForkEvent(ForkEvent<'a>),
GithubAppAuthorizationEvent(GithubAppAuthorizationEvent<'a>),
GollumEvent(GollumEvent<'a>),
InstallationEvent(InstallationEvent<'a>),
InstallationRepositoriesEvent(InstallationRepositoriesEvent<'a>),
InstallationTargetEvent(InstallationTargetEvent<'a>),
IssueCommentEvent(IssueCommentEvent<'a>),
IssuesEvent(IssuesEvent<'a>),
LabelEvent(LabelEvent<'a>),
MarketplacePurchaseEvent(MarketplacePurchaseEvent<'a>),
MemberEvent(MemberEvent<'a>),
MembershipEvent(MembershipEvent<'a>),
MergeGroupEvent(MergeGroupEvent<'a>),
MetaEvent(MetaEvent<'a>),
MilestoneEvent(MilestoneEvent<'a>),
OrgBlockEvent(OrgBlockEvent<'a>),
OrganizationEvent(OrganizationEvent<'a>),
PackageEvent(PackageEvent<'a>),
PageBuildEvent(PageBuildEvent<'a>),
PingEvent(PingEvent<'a>),
ProjectEvent(ProjectEvent<'a>),
ProjectCardEvent(ProjectCardEvent<'a>),
ProjectColumnEvent(ProjectColumnEvent<'a>),
ProjectsV2ItemEvent(ProjectsV2ItemEvent<'a>),
PublicEvent(PublicEvent<'a>),
PullRequestEvent(PullRequestEvent<'a>),
PullRequestReviewEvent(PullRequestReviewEvent<'a>),
PullRequestReviewCommentEvent(PullRequestReviewCommentEvent<'a>),
PullRequestReviewThreadEvent(PullRequestReviewThreadEvent<'a>),
PushEvent(PushEvent<'a>),
RegistryPackageEvent(RegistryPackageEvent<'a>),
ReleaseEvent(ReleaseEvent<'a>),
RepositoryEvent(RepositoryEvent<'a>),
RepositoryDispatchEvent(RepositoryDispatchEvent<'a>),
RepositoryImportEvent(RepositoryImportEvent<'a>),
RepositoryVulnerabilityAlertEvent(RepositoryVulnerabilityAlertEvent<'a>),
SecretScanningAlertEvent(SecretScanningAlertEvent<'a>),
SecretScanningAlertLocationEvent(SecretScanningAlertLocationEvent<'a>),
SecurityAdvisoryEvent(SecurityAdvisoryEvent<'a>),
SponsorshipEvent(SponsorshipEvent<'a>),
StarEvent(StarEvent<'a>),
StatusEvent(StatusEvent<'a>),
TeamEvent(TeamEvent<'a>),
TeamAddEvent(TeamAddEvent<'a>),
WatchEvent(WatchEvent<'a>),
WorkflowDispatchEvent(WorkflowDispatchEvent<'a>),
WorkflowJobEvent(WorkflowJobEvent<'a>),
WorkflowRunEvent(WorkflowRunEvent<'a>),
}
Expand description
This file was automatically generated by json-schema-to-typescript. DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, and run json-schema-to-typescript to regenerate this file.
Variants§
BranchProtectionRuleEvent(BranchProtectionRuleEvent<'a>)
CheckRunEvent(CheckRunEvent<'a>)
CheckSuiteEvent(CheckSuiteEvent<'a>)
CodeScanningAlertEvent(CodeScanningAlertEvent<'a>)
CommitCommentEvent(CommitCommentEvent<'a>)
CreateEvent(CreateEvent<'a>)
DeleteEvent(DeleteEvent<'a>)
DependabotAlertEvent(DependabotAlertEvent<'a>)
DeployKeyEvent(DeployKeyEvent<'a>)
DeploymentEvent(DeploymentEvent<'a>)
DeploymentProtectionRuleEvent(DeploymentProtectionRuleEvent<'a>)
DeploymentReviewEvent(DeploymentReviewEvent<'a>)
DeploymentStatusEvent(DeploymentStatusEvent<'a>)
DiscussionEvent(DiscussionEvent<'a>)
DiscussionCommentEvent(DiscussionCommentEvent<'a>)
ForkEvent(ForkEvent<'a>)
GithubAppAuthorizationEvent(GithubAppAuthorizationEvent<'a>)
GollumEvent(GollumEvent<'a>)
InstallationEvent(InstallationEvent<'a>)
InstallationRepositoriesEvent(InstallationRepositoriesEvent<'a>)
InstallationTargetEvent(InstallationTargetEvent<'a>)
IssueCommentEvent(IssueCommentEvent<'a>)
IssuesEvent(IssuesEvent<'a>)
LabelEvent(LabelEvent<'a>)
MarketplacePurchaseEvent(MarketplacePurchaseEvent<'a>)
MemberEvent(MemberEvent<'a>)
MembershipEvent(MembershipEvent<'a>)
MergeGroupEvent(MergeGroupEvent<'a>)
MetaEvent(MetaEvent<'a>)
MilestoneEvent(MilestoneEvent<'a>)
OrgBlockEvent(OrgBlockEvent<'a>)
OrganizationEvent(OrganizationEvent<'a>)
PackageEvent(PackageEvent<'a>)
PageBuildEvent(PageBuildEvent<'a>)
PingEvent(PingEvent<'a>)
ProjectEvent(ProjectEvent<'a>)
ProjectCardEvent(ProjectCardEvent<'a>)
ProjectColumnEvent(ProjectColumnEvent<'a>)
ProjectsV2ItemEvent(ProjectsV2ItemEvent<'a>)
PublicEvent(PublicEvent<'a>)
PullRequestEvent(PullRequestEvent<'a>)
PullRequestReviewEvent(PullRequestReviewEvent<'a>)
PullRequestReviewCommentEvent(PullRequestReviewCommentEvent<'a>)
PullRequestReviewThreadEvent(PullRequestReviewThreadEvent<'a>)
PushEvent(PushEvent<'a>)
RegistryPackageEvent(RegistryPackageEvent<'a>)
ReleaseEvent(ReleaseEvent<'a>)
RepositoryEvent(RepositoryEvent<'a>)
RepositoryDispatchEvent(RepositoryDispatchEvent<'a>)
RepositoryImportEvent(RepositoryImportEvent<'a>)
RepositoryVulnerabilityAlertEvent(RepositoryVulnerabilityAlertEvent<'a>)
SecretScanningAlertEvent(SecretScanningAlertEvent<'a>)
SecretScanningAlertLocationEvent(SecretScanningAlertLocationEvent<'a>)
SecurityAdvisoryEvent(SecurityAdvisoryEvent<'a>)
SponsorshipEvent(SponsorshipEvent<'a>)
StarEvent(StarEvent<'a>)
StatusEvent(StatusEvent<'a>)
TeamEvent(TeamEvent<'a>)
TeamAddEvent(TeamAddEvent<'a>)
WatchEvent(WatchEvent<'a>)
WorkflowDispatchEvent(WorkflowDispatchEvent<'a>)
WorkflowJobEvent(WorkflowJobEvent<'a>)
WorkflowRunEvent(WorkflowRunEvent<'a>)
Trait Implementations§
source§impl<'de: 'a, 'a> Deserialize<'de> for Schema<'a>
impl<'de: 'a, 'a> Deserialize<'de> for Schema<'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 Schema<'a>
impl<'a> Send for Schema<'a>
impl<'a> Sync for Schema<'a>
impl<'a> Unpin for Schema<'a>
impl<'a> UnwindSafe for Schema<'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