pub struct SLAViolation {
pub violation_type: SLAViolationType,
pub timestamp: SystemTime,
pub details: String,
pub metric_value: f64,
pub threshold: f64,
}
Expand description
SLA violation tracking
Fields§
§violation_type: SLAViolationType
§timestamp: SystemTime
§details: String
§metric_value: f64
§threshold: f64
Trait Implementations§
Source§impl Clone for SLAViolation
impl Clone for SLAViolation
Source§fn clone(&self) -> SLAViolation
fn clone(&self) -> SLAViolation
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 SLAViolation
impl Debug for SLAViolation
Source§impl<'de> Deserialize<'de> for SLAViolation
impl<'de> Deserialize<'de> for SLAViolation
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 SLAViolation
impl RefUnwindSafe for SLAViolation
impl Send for SLAViolation
impl Sync for SLAViolation
impl Unpin for SLAViolation
impl UnwindSafe for SLAViolation
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