pub struct Incident {
pub id: i64,
pub monitor: String,
pub started: u64,
pub ended: Option<u64>,
pub duration_ms: u64,
pub error: Option<String>,
}Expand description
One outage.
Fields§
§id: i64§monitor: String§started: u64Unix milliseconds: the first failed check.
ended: Option<u64>§duration_ms: u64§error: Option<String>Trait Implementations§
impl StructuralPartialEq for Incident
Auto Trait Implementations§
impl Freeze for Incident
impl RefUnwindSafe for Incident
impl Send for Incident
impl Sync for Incident
impl Unpin for Incident
impl UnsafeUnpin for Incident
impl UnwindSafe for Incident
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