pub struct ReleaseCandidateRiskSnapshot {
pub candidate_id: String,
pub risk_score: f64,
pub risk_level: ReleaseRiskLevel,
pub requires_escalation: bool,
pub incident_count_7d: usize,
pub observatory_regressions: usize,
}Expand description
Compact snapshot for one release candidate.
Fields§
§candidate_id: StringCandidate identifier (for example rc-2026-05-06.1).
risk_score: f64Risk score for this candidate.
risk_level: ReleaseRiskLevelClassified risk level.
requires_escalation: boolWhether this candidate requires escalation.
incident_count_7d: usizeIncident count observed during the 7-day lookback.
observatory_regressions: usizeObservatory regressions observed for this candidate.
Trait Implementations§
Source§impl Clone for ReleaseCandidateRiskSnapshot
impl Clone for ReleaseCandidateRiskSnapshot
Source§fn clone(&self) -> ReleaseCandidateRiskSnapshot
fn clone(&self) -> ReleaseCandidateRiskSnapshot
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 ReleaseCandidateRiskSnapshot
impl Debug for ReleaseCandidateRiskSnapshot
Source§impl<'de> Deserialize<'de> for ReleaseCandidateRiskSnapshot
impl<'de> Deserialize<'de> for ReleaseCandidateRiskSnapshot
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 ReleaseCandidateRiskSnapshot
impl PartialEq for ReleaseCandidateRiskSnapshot
Source§fn eq(&self, other: &ReleaseCandidateRiskSnapshot) -> bool
fn eq(&self, other: &ReleaseCandidateRiskSnapshot) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ReleaseCandidateRiskSnapshot
Auto Trait Implementations§
impl Freeze for ReleaseCandidateRiskSnapshot
impl RefUnwindSafe for ReleaseCandidateRiskSnapshot
impl Send for ReleaseCandidateRiskSnapshot
impl Sync for ReleaseCandidateRiskSnapshot
impl Unpin for ReleaseCandidateRiskSnapshot
impl UnsafeUnpin for ReleaseCandidateRiskSnapshot
impl UnwindSafe for ReleaseCandidateRiskSnapshot
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