pub enum ClickStackAlertChannel {
ClickStackAlertChannelEmail(ClickStackAlertChannelEmail),
ClickStackAlertChannelWebhook(ClickStackAlertChannelWebhook),
Unknown(Value),
}Expand description
ClickStackAlertChannel - one of multiple variants.
Dispatched on the type field; see the discriminated_union!
invocation below for the wire values.
Variants§
ClickStackAlertChannelEmail(ClickStackAlertChannelEmail)
ClickStackAlertChannelWebhook(ClickStackAlertChannelWebhook)
Unknown(Value)
Catch-all for unknown or newly-added values.
Holds the raw payload as serde_json::Value so it round-trips
losslessly; its Display emits the payload as compact JSON.
Trait Implementations§
Source§impl Clone for ClickStackAlertChannel
impl Clone for ClickStackAlertChannel
Source§fn clone(&self) -> ClickStackAlertChannel
fn clone(&self) -> ClickStackAlertChannel
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 ClickStackAlertChannel
impl Debug for ClickStackAlertChannel
Source§impl Default for ClickStackAlertChannel
impl Default for ClickStackAlertChannel
Source§impl<'de> Deserialize<'de> for ClickStackAlertChannel
impl<'de> Deserialize<'de> for ClickStackAlertChannel
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
Source§impl Display for ClickStackAlertChannel
impl Display for ClickStackAlertChannel
Source§impl PartialEq for ClickStackAlertChannel
impl PartialEq for ClickStackAlertChannel
Source§impl Serialize for ClickStackAlertChannel
impl Serialize for ClickStackAlertChannel
impl StructuralPartialEq for ClickStackAlertChannel
Auto Trait Implementations§
impl Freeze for ClickStackAlertChannel
impl RefUnwindSafe for ClickStackAlertChannel
impl Send for ClickStackAlertChannel
impl Sync for ClickStackAlertChannel
impl Unpin for ClickStackAlertChannel
impl UnsafeUnpin for ClickStackAlertChannel
impl UnwindSafe for ClickStackAlertChannel
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