pub struct Events {Show 27 fields
pub branch_protection_rule: OptionalBody<GenericEvent>,
pub check_run: OptionalBody<GenericEvent>,
pub check_suite: OptionalBody<GenericEvent>,
pub discussion: OptionalBody<GenericEvent>,
pub discussion_comment: OptionalBody<GenericEvent>,
pub issue_comment: OptionalBody<GenericEvent>,
pub issues: OptionalBody<GenericEvent>,
pub label: OptionalBody<GenericEvent>,
pub merge_group: OptionalBody<GenericEvent>,
pub milestone: OptionalBody<GenericEvent>,
pub project: OptionalBody<GenericEvent>,
pub project_card: OptionalBody<GenericEvent>,
pub project_column: OptionalBody<GenericEvent>,
pub pull_request: OptionalBody<PullRequest>,
pub pull_request_comment: OptionalBody<GenericEvent>,
pub pull_request_review: OptionalBody<GenericEvent>,
pub pull_request_review_comment: OptionalBody<GenericEvent>,
pub pull_request_target: OptionalBody<PullRequest>,
pub push: OptionalBody<Push>,
pub registry_package: OptionalBody<GenericEvent>,
pub release: OptionalBody<GenericEvent>,
pub repository_dispatch: OptionalBody<GenericEvent>,
pub schedule: OptionalBody<Vec<Cron>>,
pub watch: OptionalBody<GenericEvent>,
pub workflow_call: OptionalBody<WorkflowCall>,
pub workflow_dispatch: OptionalBody<WorkflowDispatch>,
pub workflow_run: OptionalBody<WorkflowRun>,
}
Expand description
Workflow event triggers, with bodies.
Like BareEvent
, but with per-event properties.
Fields§
§branch_protection_rule: OptionalBody<GenericEvent>
§check_run: OptionalBody<GenericEvent>
§check_suite: OptionalBody<GenericEvent>
§discussion: OptionalBody<GenericEvent>
§discussion_comment: OptionalBody<GenericEvent>
§issue_comment: OptionalBody<GenericEvent>
§issues: OptionalBody<GenericEvent>
§label: OptionalBody<GenericEvent>
§merge_group: OptionalBody<GenericEvent>
§milestone: OptionalBody<GenericEvent>
§project: OptionalBody<GenericEvent>
§project_card: OptionalBody<GenericEvent>
§project_column: OptionalBody<GenericEvent>
§pull_request: OptionalBody<PullRequest>
§pull_request_comment: OptionalBody<GenericEvent>
§pull_request_review: OptionalBody<GenericEvent>
§pull_request_review_comment: OptionalBody<GenericEvent>
§pull_request_target: OptionalBody<PullRequest>
§push: OptionalBody<Push>
§registry_package: OptionalBody<GenericEvent>
§release: OptionalBody<GenericEvent>
§repository_dispatch: OptionalBody<GenericEvent>
§schedule: OptionalBody<Vec<Cron>>
§watch: OptionalBody<GenericEvent>
§workflow_call: OptionalBody<WorkflowCall>
§workflow_dispatch: OptionalBody<WorkflowDispatch>
§workflow_run: OptionalBody<WorkflowRun>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Events
impl<'de> Deserialize<'de> for Events
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
Auto Trait Implementations§
impl Freeze for Events
impl RefUnwindSafe for Events
impl Send for Events
impl Sync for Events
impl Unpin for Events
impl UnwindSafe for Events
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