[−][src]Enum github_types::EventType
GitHub events that are specified in the X-Github-Event header.
Variants
Wildcard(Special event.) Any time any event is triggered (Wildcard Event).
Ping(Special event.) Sent when a webhook is added.
CheckRunTriggered when a check run is created, rerequested, completed, or
has a requested_action.
CheckSuiteTriggered when a check suite is completed, requested, or
rerequested.
CommitCommentAny time a Commit is commented on.
ContentReferenceTriggered when the body or comment of an issue or pull request includes a URL that matches a configured content reference domain. Only GitHub Apps can receive this event.
CreateAny time a Branch or Tag is created.
DeleteAny time a Branch or Tag is deleted.
DeploymentAny time a Repository has a new deployment created from the API.
DeploymentStatusAny time a deployment for a Repository has a status update from the API.
ForkAny time a Repository is forked.
GitHubAppAuthorizationTriggered when someone revokes their authorization of a GitHub App.
GollumAny time a Wiki page is updated.
InstallationAny time a GitHub App is installed or uninstalled.
IntegrationInstallationSame as Installation, but deprecated. This event is sent alongside
the Installation event, but can always be ignored.
InstallationRepositoriesAny time a repository is added or removed from an installation.
IntegrationInstallationRepositoriesSame as InstallationRepositories, but deprecated. This event is sent
alongside the InstallationRepositories event, but can always be
ignored.
IssueCommentAny time a comment on an issue is created, edited, or deleted.
IssuesAny time an Issue is assigned, unassigned, labeled, unlabeled, opened, edited, milestoned, demilestoned, closed, or reopened.
LabelAny time a Label is created, edited, or deleted.
MarketplacePurchaseAny time a user purchases, cancels, or changes their GitHub Marketplace plan.
MemberAny time a User is added or removed as a collaborator to a Repository, or has their permissions modified.
MembershipAny time a User is added or removed from a team. Organization hooks only.
MilestoneAny time a Milestone is created, closed, opened, edited, or deleted.
OrganizationAny time a user is added, removed, or invited to an Organization. Organization hooks only.
OrgBlockAny time an organization blocks or unblocks a user. Organization hooks only.
PageBuildAny time a Pages site is built or results in a failed build.
ProjectCardAny time a Project Card is created, edited, moved, converted to an issue, or deleted.
ProjectColumnAny time a Project Column is created, edited, moved, or deleted.
ProjectAny time a Project is created, edited, closed, reopened, or deleted.
PublicAny time a Repository changes from private to public.
PullRequestAny time a pull request is assigned, unassigned, labeled, unlabeled, opened, edited, closed, reopened, or synchronized (updated due to a new push in the branch that the pull request is tracking). Also any time a pull request review is requested, or a review request is removed.
PullRequestReviewCommentAny time a comment on a pull request's unified diff is created, edited, or deleted (in the Files Changed tab).
PullRequestReviewAny time a pull request review is submitted, edited, or dismissed.
PushAny Git push to a Repository, including editing tags or branches. Commits via API actions that update references are also counted. This is the default event.
ReleaseAny time a Release is published in a Repository.
RepositoryAny time a Repository is created, deleted (organization hooks only), archived, unarchived, made public, or made private.
RepositoryImportTriggered when a successful, cancelled, or failed repository import finishes for a GitHub organization or a personal repository. To receive this event for a personal repository, you must create an empty repository prior to the import. This event can be triggered using either the GitHub Importer or the Source imports API.
RepositoryVulnerabilityAlertTriggered when a security alert is created, dismissed, or resolved.
SecurityAdvisoryTriggered when a new security advisory is published, updated, or withdrawn. A security advisory provides information about security-related vulnerabilities in software on GitHub. Security Advisory webhooks are available to GitHub Apps only.
StatusAny time a Repository has a status update from the API.
TeamAny time a team is created, deleted, modified, or added to or removed from a repository. Organization hooks only
TeamAddAny time a team is added or modified on a Repository.
WatchAny time a User stars a Repository.
Methods
impl EventType[src]
Trait Implementations
impl Copy for EventType[src]
impl PartialEq<EventType> for EventType[src]
fn eq(&self, other: &EventType) -> bool[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
This method tests for !=.
impl Ord for EventType[src]
fn cmp(&self, other: &EventType) -> Ordering[src]
fn max(self, other: Self) -> Self1.21.0[src]
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self1.21.0[src]
Compares and returns the minimum of two values. Read more
fn clamp(self, min: Self, max: Self) -> Self[src]
clamp)Restrict a value to a certain interval. Read more
impl Eq for EventType[src]
impl PartialOrd<EventType> for EventType[src]
fn partial_cmp(&self, other: &EventType) -> Option<Ordering>[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool1.0.0[src]
This method tests less than (for self and other) and is used by the < operator. Read more
#[must_use]
fn le(&self, other: &Rhs) -> bool1.0.0[src]
This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
#[must_use]
fn gt(&self, other: &Rhs) -> bool1.0.0[src]
This method tests greater than (for self and other) and is used by the > operator. Read more
#[must_use]
fn ge(&self, other: &Rhs) -> bool1.0.0[src]
This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
impl Clone for EventType[src]
fn clone(&self) -> EventType[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Debug for EventType[src]
impl Display for EventType[src]
impl FromStr for EventType[src]
type Err = &'static str
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Self, Self::Err>[src]
impl Hash for EventType[src]
fn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher]. Read more
impl<'de> Deserialize<'de> for EventType[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>, [src]
D: Deserializer<'de>,
Auto Trait Implementations
Blanket Implementations
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T> From for T[src]
impl<T, U> Into for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized, [src]
T: Display + ?Sized,
impl<T, U> TryFrom for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T> Borrow for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>, [src]
T: Deserialize<'de>,