pub enum DoctorWebhookFormat {
GenericJson,
Slack,
Pagerduty,
}Expand description
Built-in webhook payload formats.
Variants§
GenericJson
Opinionated RCH JSON schema (default).
Slack
Slack Block Kit payload.
Pagerduty
PagerDuty Events API v2 payload.
Trait Implementations§
Source§impl Clone for DoctorWebhookFormat
impl Clone for DoctorWebhookFormat
impl Copy for DoctorWebhookFormat
Source§impl Debug for DoctorWebhookFormat
impl Debug for DoctorWebhookFormat
Source§impl Default for DoctorWebhookFormat
impl Default for DoctorWebhookFormat
Source§impl<'de> Deserialize<'de> for DoctorWebhookFormat
impl<'de> Deserialize<'de> for DoctorWebhookFormat
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
impl Eq for DoctorWebhookFormat
Source§impl PartialEq for DoctorWebhookFormat
impl PartialEq for DoctorWebhookFormat
Source§impl Serialize for DoctorWebhookFormat
impl Serialize for DoctorWebhookFormat
impl StructuralPartialEq for DoctorWebhookFormat
Auto Trait Implementations§
impl Freeze for DoctorWebhookFormat
impl RefUnwindSafe for DoctorWebhookFormat
impl Send for DoctorWebhookFormat
impl Sync for DoctorWebhookFormat
impl Unpin for DoctorWebhookFormat
impl UnsafeUnpin for DoctorWebhookFormat
impl UnwindSafe for DoctorWebhookFormat
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.