pub enum WebhookEventSubscription {
TaskCreated,
TaskStarted,
TaskCompleted,
TaskFailed,
TaskStatusChanged,
LoopStarted,
LoopStopped,
PhaseStarted,
PhaseCompleted,
QueueUnblocked,
Wildcard,
}Expand description
Webhook event subscription type for config. Each variant corresponds to a WebhookEventType, plus Wildcard for “all events”.
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.
LoopStarted
Run loop started.
LoopStopped
Run loop stopped.
PhaseStarted
Phase started for a task.
PhaseCompleted
Phase completed for a task.
QueueUnblocked
Queue became unblocked.
Wildcard
Wildcard: subscribe to all events.
Implementations§
Trait Implementations§
Source§impl Clone for WebhookEventSubscription
impl Clone for WebhookEventSubscription
Source§fn clone(&self) -> WebhookEventSubscription
fn clone(&self) -> WebhookEventSubscription
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 WebhookEventSubscription
impl Debug for WebhookEventSubscription
Source§impl<'de> Deserialize<'de> for WebhookEventSubscription
impl<'de> Deserialize<'de> for WebhookEventSubscription
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 JsonSchema for WebhookEventSubscription
impl JsonSchema for WebhookEventSubscription
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for WebhookEventSubscription
impl PartialEq for WebhookEventSubscription
Source§impl Serialize for WebhookEventSubscription
impl Serialize for WebhookEventSubscription
impl Copy for WebhookEventSubscription
impl Eq for WebhookEventSubscription
impl StructuralPartialEq for WebhookEventSubscription
Auto Trait Implementations§
impl Freeze for WebhookEventSubscription
impl RefUnwindSafe for WebhookEventSubscription
impl Send for WebhookEventSubscription
impl Sync for WebhookEventSubscription
impl Unpin for WebhookEventSubscription
impl UnsafeUnpin for WebhookEventSubscription
impl UnwindSafe for WebhookEventSubscription
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.