pub struct AlertOptions {
pub severity: Option<String>,
pub alert_type: Option<String>,
pub alert_label: Option<String>,
pub thresholds: AlertThresholds,
}Fields§
§severity: Option<String>§alert_type: Option<String>§alert_label: Option<String>§thresholds: AlertThresholdsTrait Implementations§
Source§impl Clone for AlertOptions
impl Clone for AlertOptions
Source§fn clone(&self) -> AlertOptions
fn clone(&self) -> AlertOptions
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 AlertOptions
impl Debug for AlertOptions
Source§impl Default for AlertOptions
impl Default for AlertOptions
Source§fn default() -> AlertOptions
fn default() -> AlertOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AlertOptions
impl RefUnwindSafe for AlertOptions
impl Send for AlertOptions
impl Sync for AlertOptions
impl Unpin for AlertOptions
impl UnsafeUnpin for AlertOptions
impl UnwindSafe for AlertOptions
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