pub struct ReleaseRiskWeights {
pub probe_failures: f64,
pub drift_failures: f64,
pub observatory_regressions: f64,
pub incidents_7d: f64,
pub incidents_30d: f64,
}Expand description
Weights used to aggregate a release risk score.
Fields§
§probe_failures: f64Weight for probe-pack failure ratio.
drift_failures: f64Weight for mode-differential drift failure ratio.
observatory_regressions: f64Weight for observatory regression ratio.
incidents_7d: f64Weight for incidents observed in the last 7 days.
incidents_30d: f64Weight for incidents observed in the last 30 days.
Trait Implementations§
Source§impl Clone for ReleaseRiskWeights
impl Clone for ReleaseRiskWeights
Source§fn clone(&self) -> ReleaseRiskWeights
fn clone(&self) -> ReleaseRiskWeights
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 ReleaseRiskWeights
impl Debug for ReleaseRiskWeights
Source§impl Default for ReleaseRiskWeights
impl Default for ReleaseRiskWeights
Source§impl<'de> Deserialize<'de> for ReleaseRiskWeights
impl<'de> Deserialize<'de> for ReleaseRiskWeights
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 ReleaseRiskWeights
impl PartialEq for ReleaseRiskWeights
Source§impl Serialize for ReleaseRiskWeights
impl Serialize for ReleaseRiskWeights
impl Copy for ReleaseRiskWeights
impl StructuralPartialEq for ReleaseRiskWeights
Auto Trait Implementations§
impl Freeze for ReleaseRiskWeights
impl RefUnwindSafe for ReleaseRiskWeights
impl Send for ReleaseRiskWeights
impl Sync for ReleaseRiskWeights
impl Unpin for ReleaseRiskWeights
impl UnsafeUnpin for ReleaseRiskWeights
impl UnwindSafe for ReleaseRiskWeights
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