pub struct PagerDutyConfig {
pub routing_key: String,
pub url: Option<String>,
pub template: TemplateConfig,
}Fields§
§routing_key: StringIntegration key of an Events API v2 integration on a service.
url: Option<String>Events API endpoint; defaults to the US one. EU accounts set
https://events.eu.pagerduty.com/v2/enqueue.
template: TemplateConfigReplaces parts of the message; see crate::template.
Trait Implementations§
Source§impl Clone for PagerDutyConfig
impl Clone for PagerDutyConfig
Source§fn clone(&self) -> PagerDutyConfig
fn clone(&self) -> PagerDutyConfig
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 PagerDutyConfig
impl Debug for PagerDutyConfig
Source§impl<'de> Deserialize<'de> for PagerDutyConfig
impl<'de> Deserialize<'de> for PagerDutyConfig
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 PagerDutyConfig
impl RefUnwindSafe for PagerDutyConfig
impl Send for PagerDutyConfig
impl Sync for PagerDutyConfig
impl Unpin for PagerDutyConfig
impl UnsafeUnpin for PagerDutyConfig
impl UnwindSafe for PagerDutyConfig
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