pub struct FleetAlertPolicy {
pub events: Vec<FleetAlertEventClass>,
pub channels: Vec<FleetAlertChannel>,
pub after_attempts: Option<u32>,
pub after_minutes_stale: Option<u64>,
}Expand description
Alert/escalation policy attached to a task or run.
Fields§
§events: Vec<FleetAlertEventClass>§channels: Vec<FleetAlertChannel>§after_attempts: Option<u32>§after_minutes_stale: Option<u64>Trait Implementations§
Source§impl Clone for FleetAlertPolicy
impl Clone for FleetAlertPolicy
Source§fn clone(&self) -> FleetAlertPolicy
fn clone(&self) -> FleetAlertPolicy
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 FleetAlertPolicy
impl Debug for FleetAlertPolicy
Source§impl<'de> Deserialize<'de> for FleetAlertPolicy
impl<'de> Deserialize<'de> for FleetAlertPolicy
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
impl Eq for FleetAlertPolicy
Source§impl PartialEq for FleetAlertPolicy
impl PartialEq for FleetAlertPolicy
Source§fn eq(&self, other: &FleetAlertPolicy) -> bool
fn eq(&self, other: &FleetAlertPolicy) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for FleetAlertPolicy
impl Serialize for FleetAlertPolicy
impl StructuralPartialEq for FleetAlertPolicy
Auto Trait Implementations§
impl Freeze for FleetAlertPolicy
impl RefUnwindSafe for FleetAlertPolicy
impl Send for FleetAlertPolicy
impl Sync for FleetAlertPolicy
impl Unpin for FleetAlertPolicy
impl UnsafeUnpin for FleetAlertPolicy
impl UnwindSafe for FleetAlertPolicy
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