pub struct UpdateAlertRuleParams {
pub name: Option<String>,
pub severity: Option<AlertSeverity>,
pub rule_config: Option<AlertRuleConfig>,
pub description: Option<String>,
pub summary: Option<String>,
pub enabled: Option<bool>,
pub domain: Option<AlertDomain>,
pub time_aggregation: Option<String>,
pub notification_channel_ids: Vec<String>,
}Expand description
The parameters for AlertRulesResource::update. Only the set fields change.
Fields§
§name: Option<String>A new display name.
severity: Option<AlertSeverity>A new severity.
rule_config: Option<AlertRuleConfig>A new config.
description: Option<String>A new description.
summary: Option<String>A new summary.
enabled: Option<bool>Activate or pause the rule.
domain: Option<AlertDomain>A new domain.
time_aggregation: Option<String>A new query-time aggregation.
notification_channel_ids: Vec<String>New notification channels.
Trait Implementations§
Source§impl Clone for UpdateAlertRuleParams
impl Clone for UpdateAlertRuleParams
Source§fn clone(&self) -> UpdateAlertRuleParams
fn clone(&self) -> UpdateAlertRuleParams
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 UpdateAlertRuleParams
impl Debug for UpdateAlertRuleParams
Source§impl Default for UpdateAlertRuleParams
impl Default for UpdateAlertRuleParams
Source§fn default() -> UpdateAlertRuleParams
fn default() -> UpdateAlertRuleParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for UpdateAlertRuleParams
impl RefUnwindSafe for UpdateAlertRuleParams
impl Send for UpdateAlertRuleParams
impl Sync for UpdateAlertRuleParams
impl Unpin for UpdateAlertRuleParams
impl UnsafeUnpin for UpdateAlertRuleParams
impl UnwindSafe for UpdateAlertRuleParams
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