pub enum WebhookEventType {
TaskCreated,
TaskStarted,
TaskCompleted,
TaskFailed,
TaskStatusChanged,
LoopStarted,
LoopStopped,
PhaseStarted,
PhaseCompleted,
QueueUnblocked,
}Expand description
Types of webhook events that can be sent.
Variants§
TaskCreated
Task was created/added to queue.
TaskStarted
Task status changed to Doing (execution started).
TaskCompleted
Task completed successfully (status Done).
TaskFailed
Task failed or was rejected.
TaskStatusChanged
Generic status change (used when specific type not applicable).
LoopStarted
Run loop started.
LoopStopped
Run loop stopped (success, failure, or signal).
PhaseStarted
Phase started for a task.
PhaseCompleted
Phase completed for a task.
QueueUnblocked
Queue became unblocked (runnable tasks available after being blocked).
Implementations§
Trait Implementations§
Source§impl Clone for WebhookEventType
impl Clone for WebhookEventType
Source§fn clone(&self) -> WebhookEventType
fn clone(&self) -> WebhookEventType
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 WebhookEventType
impl Debug for WebhookEventType
Source§impl FromStr for WebhookEventType
impl FromStr for WebhookEventType
Source§impl PartialEq for WebhookEventType
impl PartialEq for WebhookEventType
impl Copy for WebhookEventType
impl Eq for WebhookEventType
impl StructuralPartialEq for WebhookEventType
Auto Trait Implementations§
impl Freeze for WebhookEventType
impl RefUnwindSafe for WebhookEventType
impl Send for WebhookEventType
impl Sync for WebhookEventType
impl Unpin for WebhookEventType
impl UnsafeUnpin for WebhookEventType
impl UnwindSafe for WebhookEventType
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.