pub struct ClusterAlertSettingsWithThreshold {
pub enabled: bool,
pub threshold: String,
pub email: Option<Vec<String>>,
pub webhook_url: Option<String>,
}
Expand description
Cluster alert settings with threshold
Fields§
§enabled: bool
True if alert is enabled
threshold: String
String representing the alert threshold value
email: 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 ClusterAlertSettingsWithThreshold
impl Clone for ClusterAlertSettingsWithThreshold
Source§fn clone(&self) -> ClusterAlertSettingsWithThreshold
fn clone(&self) -> ClusterAlertSettingsWithThreshold
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<'de> Deserialize<'de> for ClusterAlertSettingsWithThreshold
impl<'de> Deserialize<'de> for ClusterAlertSettingsWithThreshold
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 ClusterAlertSettingsWithThreshold
impl RefUnwindSafe for ClusterAlertSettingsWithThreshold
impl Send for ClusterAlertSettingsWithThreshold
impl Sync for ClusterAlertSettingsWithThreshold
impl Unpin for ClusterAlertSettingsWithThreshold
impl UnwindSafe for ClusterAlertSettingsWithThreshold
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