pub enum Action {
    Trigger,
    Acknowledge,
    Resolve,
}

Variants

Trigger

A new alert is opened or a trigger log entry is created on an existing alert if one already exists with the same dedup_key.

Use this event action when a new problem has been detected. Additional triggers may be sent when a previously detected problem has occurred again.

Acknowledge

The incident referenced with the dedup_key will enter the acknowledged state.

While an incident is acknowledged, it won’t generate any additional notifications, even if it receives new trigger events.

Use this event action to indicate that someone is presently working on the problem.

Resolve

The incident referenced with the dedup_key will enter the resolved state.

Once an incident is resolved, it won’t generate any additional notifications. New trigger events with the same incident_key / dedup_keyas a resolved incident won’t re-open the incident. Instead, a new incident will be created.

Use this event action when the problem that caused the initial trigger event has been fixed.

Trait Implementations

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more