pub struct OpsgenieConfig {
pub api_key: String,
pub url: Option<String>,
pub tags: Vec<String>,
pub template: TemplateConfig,
}Fields§
§api_key: StringKey of an API integration on an Opsgenie team.
url: Option<String>Alert API endpoint; defaults to the US one. EU accounts set
https://api.eu.opsgenie.com/v2/alerts.
Added to every alert, before the signal’s severity and environment.
template: TemplateConfigReplaces parts of the message; see crate::template.
Trait Implementations§
Source§impl Clone for OpsgenieConfig
impl Clone for OpsgenieConfig
Source§fn clone(&self) -> OpsgenieConfig
fn clone(&self) -> OpsgenieConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 OpsgenieConfig
impl Debug for OpsgenieConfig
Source§impl<'de> Deserialize<'de> for OpsgenieConfig
impl<'de> Deserialize<'de> for OpsgenieConfig
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
Auto Trait Implementations§
impl Freeze for OpsgenieConfig
impl RefUnwindSafe for OpsgenieConfig
impl Send for OpsgenieConfig
impl Sync for OpsgenieConfig
impl Unpin for OpsgenieConfig
impl UnsafeUnpin for OpsgenieConfig
impl UnwindSafe for OpsgenieConfig
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