Enum github_rest::model::event_types::EventTypes
source · pub enum EventTypes {
Show 54 variants
GithubAppAuthorization,
Installation,
InstallationRepositories,
Gollum,
DeployKey,
Member,
Milestone,
Public,
Release,
Repository,
RepositoryDispatch,
RepositoryImport,
RepositoryVulnerabilityAlert,
SecretScanningAlert,
SecurityAdvisory,
Star,
Watch,
PullRequest,
PullRequestReview,
PullRequestReviewComment,
CommitComment,
Push,
Status,
IssueComment,
Issues,
Label,
Discussion,
DiscussionComment,
BranchProtectionRule,
Create,
Delete,
Fork,
CheckRun,
CheckSuite,
CodeScanningAlert,
Deployment,
DeploymentStatus,
PageBuild,
WorkflowDispatch,
WorkflowJob,
WorkflowRun,
Membership,
OrgBlock,
Organization,
Team,
TeamAdd,
Project,
ProjectCard,
ProjectColumn,
MarketplacePurchase,
Meta,
Package,
Ping,
Sponsorship,
}
Expand description
Used to represent all possible values for the x-github-event
header sent
with all webhook payloads.
See also: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads
Variants§
GithubAppAuthorization
Installation
InstallationRepositories
Gollum
DeployKey
Member
Milestone
Public
Release
Repository
RepositoryDispatch
RepositoryImport
RepositoryVulnerabilityAlert
SecretScanningAlert
SecurityAdvisory
Star
Watch
PullRequest
PullRequestReview
PullRequestReviewComment
CommitComment
Push
Status
IssueComment
Issues
Label
Discussion
DiscussionComment
BranchProtectionRule
Create
Delete
Fork
CheckRun
CheckSuite
CodeScanningAlert
Deployment
DeploymentStatus
PageBuild
WorkflowDispatch
WorkflowJob
WorkflowRun
Membership
OrgBlock
Organization
Team
TeamAdd
Project
ProjectCard
ProjectColumn
MarketplacePurchase
Meta
Package
Ping
Sponsorship
Trait Implementations§
source§impl Debug for EventTypes
impl Debug for EventTypes
source§impl<'de> Deserialize<'de> for EventTypes
impl<'de> Deserialize<'de> for EventTypes
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
source§impl FromStr for EventTypes
impl FromStr for EventTypes
source§impl TryFrom<&str> for EventTypes
impl TryFrom<&str> for EventTypes
Auto Trait Implementations§
impl RefUnwindSafe for EventTypes
impl Send for EventTypes
impl Sync for EventTypes
impl Unpin for EventTypes
impl UnwindSafe for EventTypes
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