pub struct AlertDeliveryTargets {
pub targets: Vec<NotifyTarget>,
pub emails: Vec<String>,
}Expand description
Node-level alert delivery targets (self-host): the fan-out channels
(webhook / Telegram / Expo push) + email recipients that policy alerts
deliver to. Distinct from per-monitor targets, which are scoped to one
watched site. Persisted in the Core notify store (alert_delivery table).
Fields§
§targets: Vec<NotifyTarget>§emails: Vec<String>Trait Implementations§
Source§impl Clone for AlertDeliveryTargets
impl Clone for AlertDeliveryTargets
Source§fn clone(&self) -> AlertDeliveryTargets
fn clone(&self) -> AlertDeliveryTargets
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 AlertDeliveryTargets
impl Debug for AlertDeliveryTargets
Source§impl Default for AlertDeliveryTargets
impl Default for AlertDeliveryTargets
Source§fn default() -> AlertDeliveryTargets
fn default() -> AlertDeliveryTargets
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AlertDeliveryTargets
impl<'de> Deserialize<'de> for AlertDeliveryTargets
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 AlertDeliveryTargets
impl RefUnwindSafe for AlertDeliveryTargets
impl Send for AlertDeliveryTargets
impl Sync for AlertDeliveryTargets
impl Unpin for AlertDeliveryTargets
impl UnsafeUnpin for AlertDeliveryTargets
impl UnwindSafe for AlertDeliveryTargets
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