pub enum GitHubEvent {
CheckRun(Box<CheckRunEvent>),
Unsupported,
}
Expand description
Event on GitHub
Webhooks allow you to build or set up integrations, such as GitHub Apps or OAuth Apps, which subscribe to certain events on GitHub.com. When one of those events is triggered, we’ll send a HTTP POST payload to the webhook’s configured URL. Webhooks can be used to update an external issue tracker, trigger CI builds, update a backup mirror, or even deploy to your production server. You’re only limited by your imagination.
Read more: https://docs.github.com/en/developers/webhooks-and-events/webhooks/about-webhooks
The webhook payloads are inside a Box
, since their sizes vary greatly.
Variants§
Trait Implementations§
Source§impl Clone for GitHubEvent
impl Clone for GitHubEvent
Source§fn clone(&self) -> GitHubEvent
fn clone(&self) -> GitHubEvent
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 GitHubEvent
impl Debug for GitHubEvent
Source§impl Default for GitHubEvent
impl Default for GitHubEvent
Source§impl<'de> Deserialize<'de> for GitHubEvent
impl<'de> Deserialize<'de> for GitHubEvent
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 Display for GitHubEvent
impl Display for GitHubEvent
Source§impl PartialEq for GitHubEvent
impl PartialEq for GitHubEvent
Source§impl Serialize for GitHubEvent
impl Serialize for GitHubEvent
impl Eq for GitHubEvent
impl StructuralPartialEq for GitHubEvent
Auto Trait Implementations§
impl Freeze for GitHubEvent
impl RefUnwindSafe for GitHubEvent
impl Send for GitHubEvent
impl Sync for GitHubEvent
impl Unpin for GitHubEvent
impl UnwindSafe for GitHubEvent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.