pub struct IncidentMetrics {
pub time_to_detect_seconds: i64,
pub time_to_acknowledge_seconds: Option<i64>,
pub time_to_contain_seconds: Option<i64>,
pub time_to_resolve_seconds: Option<i64>,
pub total_actions: usize,
pub successful_actions: usize,
}Expand description
Incident metrics
Fields§
§time_to_detect_seconds: i64§time_to_acknowledge_seconds: Option<i64>§time_to_contain_seconds: Option<i64>§time_to_resolve_seconds: Option<i64>§total_actions: usize§successful_actions: usizeTrait Implementations§
Source§impl Clone for IncidentMetrics
impl Clone for IncidentMetrics
Source§fn clone(&self) -> IncidentMetrics
fn clone(&self) -> IncidentMetrics
Returns a duplicate of the value. Read more
1.0.0 · 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 IncidentMetrics
impl Debug for IncidentMetrics
Source§impl<'de> Deserialize<'de> for IncidentMetrics
impl<'de> Deserialize<'de> for IncidentMetrics
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
Auto Trait Implementations§
impl Freeze for IncidentMetrics
impl RefUnwindSafe for IncidentMetrics
impl Send for IncidentMetrics
impl Sync for IncidentMetrics
impl Unpin for IncidentMetrics
impl UnwindSafe for IncidentMetrics
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