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<'a> Debug for Schema<'a>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de: 'a, 'a> Deserialize<'de> for Schema<'a>

source§

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> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,