pub struct AlertSettings {
pub enabled: bool,
pub threshold: Option<Value>,
pub email_recipients: Option<Vec<String>>,
pub webhook_url: Option<String>,
}
Expand description
Generic alert settings (legacy - kept for compatibility)
Fields§
§enabled: bool
True if alert is enabled
threshold: Option<Value>
Alert threshold value when applicable
email_recipients: Option<Vec<String>>
List of email addresses to notify when alert triggers
webhook_url: Option<String>
Webhook URL to call when alert triggers
Trait Implementations§
Source§impl Clone for AlertSettings
impl Clone for AlertSettings
Source§fn clone(&self) -> AlertSettings
fn clone(&self) -> AlertSettings
Returns a duplicate of the value. Read more
1.0.0 · 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 AlertSettings
impl Debug for AlertSettings
Source§impl<'de> Deserialize<'de> for AlertSettings
impl<'de> Deserialize<'de> for AlertSettings
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 AlertSettings
impl RefUnwindSafe for AlertSettings
impl Send for AlertSettings
impl Sync for AlertSettings
impl Unpin for AlertSettings
impl UnwindSafe for AlertSettings
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