pub struct Alert {
pub name: String,
pub tags_to_monitor: Vec<String>,
pub jobs_num_threshold: i32,
pub alert_cooldown_seconds: i32,
pub alert_time_threshold_seconds: i32,
}Fields§
§name: String§jobs_num_threshold: i32§alert_cooldown_seconds: i32§alert_time_threshold_seconds: i32Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Alert
impl<'de> Deserialize<'de> for Alert
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 StructuralPartialEq for Alert
Auto Trait Implementations§
impl Forget for Alert
impl Freeze for Alert
impl Move for Alert
impl RefUnwindSafe for Alert
impl Send for Alertwhere
RawVecInner: Send,
impl Sync for Alertwhere
RawVecInner: Sync,
impl Unpin for Alert
impl UnsafeUnpin for Alertwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for Alertwhere
RawVecInner: UnwindSafe,
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