pub struct MetricThreshold {
pub evaluator_id: String,
pub minimum_rate: Option<f64>,
pub maximum_regression: Option<f64>,
}Fields§
§evaluator_id: String§minimum_rate: Option<f64>§maximum_regression: Option<f64>Trait Implementations§
Source§impl Clone for MetricThreshold
impl Clone for MetricThreshold
Source§fn clone(&self) -> MetricThreshold
fn clone(&self) -> MetricThreshold
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MetricThreshold
impl Debug for MetricThreshold
Source§impl<'de> Deserialize<'de> for MetricThreshold
impl<'de> Deserialize<'de> for MetricThreshold
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
Source§impl PartialEq for MetricThreshold
impl PartialEq for MetricThreshold
Source§impl Serialize for MetricThreshold
impl Serialize for MetricThreshold
impl StructuralPartialEq for MetricThreshold
Auto Trait Implementations§
impl Freeze for MetricThreshold
impl RefUnwindSafe for MetricThreshold
impl Send for MetricThreshold
impl Sync for MetricThreshold
impl Unpin for MetricThreshold
impl UnsafeUnpin for MetricThreshold
impl UnwindSafe for MetricThreshold
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