Enum pagerduty_rs::types::Action
source · [−]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
Auto Trait Implementations
impl RefUnwindSafe for Action
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnwindSafe for Action
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more