pub struct Alert {
pub alert_type: AlertType,
pub severity: AlertSeverity,
pub message: String,
pub baseline_value: Option<f64>,
pub current_value: Option<f64>,
pub delta: Option<f64>,
pub details: Vec<String>,
pub issue_id: Option<String>,
pub label: Option<String>,
pub detected_at: String,
pub unblocks_count: Option<usize>,
pub downstream_priority_sum: Option<i32>,
}Fields§
§alert_type: AlertType§severity: AlertSeverity§message: String§baseline_value: Option<f64>§current_value: Option<f64>§delta: Option<f64>§details: Vec<String>§issue_id: Option<String>§label: Option<String>§detected_at: String§unblocks_count: Option<usize>§downstream_priority_sum: Option<i32>Trait Implementations§
Auto Trait Implementations§
impl Freeze for Alert
impl RefUnwindSafe for Alert
impl Send for Alert
impl Sync for Alert
impl Unpin for Alert
impl UnsafeUnpin for Alert
impl UnwindSafe for Alert
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