pub struct OpsgenieProvider {
pub url: String,
/* private fields */
}Expand description
Creates an Opsgenie alert through the Alert API. The signal’s
dedup_key becomes the alert alias, so a repeat of the same
signal adds to the open alert’s count instead of opening a new one.
Fields§
§url: StringImplementations§
Trait Implementations§
Source§impl Provider for OpsgenieProvider
impl Provider for OpsgenieProvider
fn name(&self) -> &'static str
Source§fn preview(&self, signal: &Signal) -> Option<Value>
fn preview(&self, signal: &Signal) -> Option<Value>
What
send would deliver for signal, without sending it, for
checking templates (signal preview). None when the provider
can’t show it.fn send<'life0, 'life1, 'async_trait>(
&'life0 self,
signal: &'life1 Signal,
) -> Pin<Box<dyn Future<Output = Result<(), SignalError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Auto Trait Implementations§
impl !Freeze for OpsgenieProvider
impl !RefUnwindSafe for OpsgenieProvider
impl !UnwindSafe for OpsgenieProvider
impl Send for OpsgenieProvider
impl Sync for OpsgenieProvider
impl Unpin for OpsgenieProvider
impl UnsafeUnpin for OpsgenieProvider
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