pub enum EventDiscriminants {
Show 63 variants
BranchProtectionRule,
CheckRun,
CheckSuite,
CodeScanningAlert,
CommitComment,
Create,
Delete,
DependabotAlert,
DeployKey,
Deployment,
DeploymentStatus,
Discussion,
DiscussionComment,
Fork,
GithubAppAuthorization,
Gollum,
Installation,
InstallationRepositories,
InstallationTarget,
IssueComment,
Issues,
Label,
MarketplacePurchase,
Member,
Membership,
MergeGroup,
Meta,
Milestone,
OrgBlock,
Organization,
Package,
PageBuild,
Ping,
ProjectCard,
Project,
ProjectColumn,
ProjectsV2,
ProjectsV2Item,
Public,
PullRequest,
PullRequestReviewComments,
PullRequestReview,
PullRequestReviewThread,
Push,
RegistryPackage,
Release,
Repository,
RepositoryDispatch,
RepositoryImport,
RepositoryVulnerabilityAlert,
SecretScanningAlert,
SecretScanningAlertLocation,
SecretAdvisory,
SecurityAndAnalysis,
Sponsorship,
Star,
Status,
TeamAdd,
Team,
Watch,
WorkflowDispatch,
WorkflowJob,
WorkflowRun,
}
Expand description
Auto-generated discriminant enum variants
Variants§
BranchProtectionRule
CheckRun
CheckSuite
CodeScanningAlert
CommitComment
Create
Delete
DependabotAlert
DeployKey
Deployment
DeploymentStatus
Discussion
DiscussionComment
Fork
GithubAppAuthorization
Gollum
Installation
InstallationRepositories
InstallationTarget
IssueComment
Issues
Label
MarketplacePurchase
Member
Membership
MergeGroup
Meta
Milestone
OrgBlock
Organization
Package
PageBuild
Ping
ProjectCard
Project
ProjectColumn
ProjectsV2
ProjectsV2Item
Public
PullRequest
PullRequestReviewComments
PullRequestReview
PullRequestReviewThread
Push
RegistryPackage
Release
Repository
RepositoryDispatch
RepositoryImport
RepositoryVulnerabilityAlert
SecretScanningAlert
SecretScanningAlertLocation
SecretAdvisory
SecurityAndAnalysis
Sponsorship
Star
Status
TeamAdd
Team
Watch
WorkflowDispatch
WorkflowJob
WorkflowRun
Trait Implementations§
Source§impl Clone for EventDiscriminants
impl Clone for EventDiscriminants
Source§fn clone(&self) -> EventDiscriminants
fn clone(&self) -> EventDiscriminants
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for EventDiscriminants
impl Debug for EventDiscriminants
Source§impl<'de> Deserialize<'de> for EventDiscriminants
impl<'de> Deserialize<'de> for EventDiscriminants
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<'_enum> From<&'_enum Event> for EventDiscriminants
impl<'_enum> From<&'_enum Event> for EventDiscriminants
Source§fn from(val: &'_enum Event) -> EventDiscriminants
fn from(val: &'_enum Event) -> EventDiscriminants
Converts to this type from the input type.
Source§impl From<Event> for EventDiscriminants
impl From<Event> for EventDiscriminants
Source§fn from(val: Event) -> EventDiscriminants
fn from(val: Event) -> EventDiscriminants
Converts to this type from the input type.
Source§impl FromStr for EventDiscriminants
impl FromStr for EventDiscriminants
Source§impl PartialEq for EventDiscriminants
impl PartialEq for EventDiscriminants
Source§impl Serialize for EventDiscriminants
impl Serialize for EventDiscriminants
Source§impl TryFrom<&str> for EventDiscriminants
impl TryFrom<&str> for EventDiscriminants
impl Copy for EventDiscriminants
impl Eq for EventDiscriminants
impl StructuralPartialEq for EventDiscriminants
Auto Trait Implementations§
impl Freeze for EventDiscriminants
impl RefUnwindSafe for EventDiscriminants
impl Send for EventDiscriminants
impl Sync for EventDiscriminants
impl Unpin for EventDiscriminants
impl UnwindSafe for EventDiscriminants
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