Enum automatons_github::event::GitHubEvent
source · [−]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
CheckRun(Box<CheckRunEvent>)
Check run event
Unsupported
Unsupported event
Trait Implementations
sourceimpl Clone for GitHubEvent
impl Clone for GitHubEvent
sourcefn clone(&self) -> GitHubEvent
fn clone(&self) -> GitHubEvent
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for GitHubEvent
impl Debug for GitHubEvent
sourceimpl Default for GitHubEvent
impl Default for GitHubEvent
sourceimpl<'de> Deserialize<'de> for GitHubEvent
impl<'de> Deserialize<'de> for GitHubEvent
sourcefn 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
sourceimpl Display for GitHubEvent
impl Display for GitHubEvent
sourceimpl PartialEq<GitHubEvent> for GitHubEvent
impl PartialEq<GitHubEvent> for GitHubEvent
sourcefn eq(&self, other: &GitHubEvent) -> bool
fn eq(&self, other: &GitHubEvent) -> bool
sourceimpl Serialize for GitHubEvent
impl Serialize for GitHubEvent
impl Eq for GitHubEvent
impl StructuralEq for GitHubEvent
impl StructuralPartialEq for GitHubEvent
Auto Trait Implementations
impl RefUnwindSafe for GitHubEvent
impl Send for GitHubEvent
impl Sync for GitHubEvent
impl Unpin for GitHubEvent
impl UnwindSafe for GitHubEvent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.