pub struct RepairMetricBreach {
pub metric: Metric,
pub status: String,
pub baseline: f64,
pub current: f64,
pub regression: f64,
pub fail_threshold: f64,
pub warn_threshold: f64,
}Fields§
§metric: Metric§status: String§baseline: f64§current: f64§regression: f64§fail_threshold: f64§warn_threshold: f64Trait Implementations§
Source§impl Clone for RepairMetricBreach
impl Clone for RepairMetricBreach
Source§fn clone(&self) -> RepairMetricBreach
fn clone(&self) -> RepairMetricBreach
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 RepairMetricBreach
impl Debug for RepairMetricBreach
Source§impl<'de> Deserialize<'de> for RepairMetricBreach
impl<'de> Deserialize<'de> for RepairMetricBreach
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 JsonSchema for RepairMetricBreach
impl JsonSchema for RepairMetricBreach
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for RepairMetricBreach
impl PartialEq for RepairMetricBreach
Source§fn eq(&self, other: &RepairMetricBreach) -> bool
fn eq(&self, other: &RepairMetricBreach) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RepairMetricBreach
impl Serialize for RepairMetricBreach
impl StructuralPartialEq for RepairMetricBreach
Auto Trait Implementations§
impl Freeze for RepairMetricBreach
impl RefUnwindSafe for RepairMetricBreach
impl Send for RepairMetricBreach
impl Sync for RepairMetricBreach
impl Unpin for RepairMetricBreach
impl UnsafeUnpin for RepairMetricBreach
impl UnwindSafe for RepairMetricBreach
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