pub struct BreachResult {
pub metric_name: String,
pub metric_type: MetricType,
pub baseline: f64,
pub current: f64,
pub ratio: f64,
pub severity: BreachSeverity,
pub safe_mode_trigger: bool,
}Expand description
Result of a breach check for a single metric.
Fields§
§metric_name: String§metric_type: MetricType§baseline: f64§current: f64§ratio: f64§severity: BreachSeverity§safe_mode_trigger: boolTrait Implementations§
Source§impl Clone for BreachResult
impl Clone for BreachResult
Source§fn clone(&self) -> BreachResult
fn clone(&self) -> BreachResult
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 moreAuto Trait Implementations§
impl Freeze for BreachResult
impl RefUnwindSafe for BreachResult
impl Send for BreachResult
impl Sync for BreachResult
impl Unpin for BreachResult
impl UnsafeUnpin for BreachResult
impl UnwindSafe for BreachResult
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