pub enum WebhookEventsVariant0Item {
Show 50 variants
BranchProtectionRule,
CheckRun,
CheckSuite,
CodeScanningAlert,
CommitComment,
Create,
Delete,
Deployment,
DeploymentStatus,
DeployKey,
Discussion,
DiscussionComment,
Fork,
Gollum,
Issues,
IssueComment,
Label,
Member,
Membership,
Meta,
Milestone,
Organization,
OrgBlock,
Package,
PageBuild,
Project,
ProjectsV2Item,
ProjectCard,
ProjectColumn,
Public,
PullRequest,
PullRequestReview,
PullRequestReviewComment,
PullRequestReviewThread,
Push,
RegistryPackage,
Release,
Repository,
RepositoryImport,
RepositoryVulnerabilityAlert,
SecretScanningAlert,
SecretScanningAlertLocation,
SecurityAndAnalysis,
Star,
Status,
Team,
TeamAdd,
Watch,
WorkflowJob,
WorkflowRun,
}
Expand description
WebhookEventsVariant0Item
JSON schema
{
"type": "string",
"enum": [
"branch_protection_rule",
"check_run",
"check_suite",
"code_scanning_alert",
"commit_comment",
"create",
"delete",
"deployment",
"deployment_status",
"deploy_key",
"discussion",
"discussion_comment",
"fork",
"gollum",
"issues",
"issue_comment",
"label",
"member",
"membership",
"meta",
"milestone",
"organization",
"org_block",
"package",
"page_build",
"project",
"projects_v2_item",
"project_card",
"project_column",
"public",
"pull_request",
"pull_request_review",
"pull_request_review_comment",
"pull_request_review_thread",
"push",
"registry_package",
"release",
"repository",
"repository_import",
"repository_vulnerability_alert",
"secret_scanning_alert",
"secret_scanning_alert_location",
"security_and_analysis",
"star",
"status",
"team",
"team_add",
"watch",
"workflow_job",
"workflow_run"
]
}
Variants§
BranchProtectionRule
CheckRun
CheckSuite
CodeScanningAlert
CommitComment
Create
Delete
Deployment
DeploymentStatus
DeployKey
Discussion
DiscussionComment
Fork
Gollum
Issues
IssueComment
Label
Member
Membership
Meta
Milestone
Organization
OrgBlock
Package
PageBuild
Project
ProjectsV2Item
ProjectCard
ProjectColumn
Public
PullRequest
PullRequestReview
PullRequestReviewComment
PullRequestReviewThread
Push
RegistryPackage
Release
Repository
RepositoryImport
RepositoryVulnerabilityAlert
SecretScanningAlert
SecretScanningAlertLocation
SecurityAndAnalysis
Star
Status
Team
TeamAdd
Watch
WorkflowJob
WorkflowRun
Trait Implementations§
Source§impl Clone for WebhookEventsVariant0Item
impl Clone for WebhookEventsVariant0Item
Source§fn clone(&self) -> WebhookEventsVariant0Item
fn clone(&self) -> WebhookEventsVariant0Item
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for WebhookEventsVariant0Item
impl Debug for WebhookEventsVariant0Item
Source§impl<'de> Deserialize<'de> for WebhookEventsVariant0Item
impl<'de> Deserialize<'de> for WebhookEventsVariant0Item
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 From<&WebhookEventsVariant0Item> for WebhookEventsVariant0Item
impl From<&WebhookEventsVariant0Item> for WebhookEventsVariant0Item
Source§fn from(value: &WebhookEventsVariant0Item) -> Self
fn from(value: &WebhookEventsVariant0Item) -> Self
Converts to this type from the input type.
Source§impl FromStr for WebhookEventsVariant0Item
impl FromStr for WebhookEventsVariant0Item
Source§impl Hash for WebhookEventsVariant0Item
impl Hash for WebhookEventsVariant0Item
Source§impl Ord for WebhookEventsVariant0Item
impl Ord for WebhookEventsVariant0Item
Source§fn cmp(&self, other: &WebhookEventsVariant0Item) -> Ordering
fn cmp(&self, other: &WebhookEventsVariant0Item) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for WebhookEventsVariant0Item
impl PartialOrd for WebhookEventsVariant0Item
Source§impl ToString for WebhookEventsVariant0Item
impl ToString for WebhookEventsVariant0Item
Source§impl TryFrom<&String> for WebhookEventsVariant0Item
impl TryFrom<&String> for WebhookEventsVariant0Item
Source§impl TryFrom<&str> for WebhookEventsVariant0Item
impl TryFrom<&str> for WebhookEventsVariant0Item
Source§impl TryFrom<String> for WebhookEventsVariant0Item
impl TryFrom<String> for WebhookEventsVariant0Item
impl Copy for WebhookEventsVariant0Item
impl Eq for WebhookEventsVariant0Item
impl StructuralPartialEq for WebhookEventsVariant0Item
Auto Trait Implementations§
impl Freeze for WebhookEventsVariant0Item
impl RefUnwindSafe for WebhookEventsVariant0Item
impl Send for WebhookEventsVariant0Item
impl Sync for WebhookEventsVariant0Item
impl Unpin for WebhookEventsVariant0Item
impl UnwindSafe for WebhookEventsVariant0Item
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