pub enum FleetAlertChannel {
Slack {
webhook: FleetAlertEndpoint,
},
Webhook {
endpoint: FleetAlertEndpoint,
},
PagerDuty {
routing_key: String,
severity: String,
},
}Variants§
Slack
Fields
§
webhook: FleetAlertEndpointWebhook URL, resolved from a secret ref or inline.
Webhook
Fields
§
endpoint: FleetAlertEndpointPagerDuty
Trait Implementations§
Source§impl Clone for FleetAlertChannel
impl Clone for FleetAlertChannel
Source§fn clone(&self) -> FleetAlertChannel
fn clone(&self) -> FleetAlertChannel
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 FleetAlertChannel
impl Debug for FleetAlertChannel
Source§impl<'de> Deserialize<'de> for FleetAlertChannel
impl<'de> Deserialize<'de> for FleetAlertChannel
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 FleetAlertChannel
Source§impl PartialEq for FleetAlertChannel
impl PartialEq for FleetAlertChannel
Source§fn eq(&self, other: &FleetAlertChannel) -> bool
fn eq(&self, other: &FleetAlertChannel) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for FleetAlertChannel
impl Serialize for FleetAlertChannel
impl StructuralPartialEq for FleetAlertChannel
Auto Trait Implementations§
impl Freeze for FleetAlertChannel
impl RefUnwindSafe for FleetAlertChannel
impl Send for FleetAlertChannel
impl Sync for FleetAlertChannel
impl Unpin for FleetAlertChannel
impl UnsafeUnpin for FleetAlertChannel
impl UnwindSafe for FleetAlertChannel
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