pub struct ConfidenceFactors {
pub simulation_ok: bool,
pub logs_complete: bool,
pub parser_warnings: usize,
pub baseline_matched: Option<bool>,
pub unattributed_pct: f64,
pub scope_markers: usize,
pub metadata_available: bool,
}Expand description
Inputs to confidence scoring. Caller fills in what it knows; absent signals are conservative defaults.
Fields§
§simulation_ok: boolDid the simulation succeed (or fail as expected)?
logs_complete: boolWere the logs parsed without leftover unrecognised lines?
parser_warnings: usizeNumber of parser warnings collected.
baseline_matched: Option<bool>Did the baseline fingerprint match (None when no baseline was compared)?
unattributed_pct: f64Percentage of total CU that could not be attributed to a scope (0..=100).
scope_markers: usizeNumber of scope markers detected.
metadata_available: boolWhether runtime/version metadata was available.
Trait Implementations§
Source§impl Clone for ConfidenceFactors
impl Clone for ConfidenceFactors
Source§fn clone(&self) -> ConfidenceFactors
fn clone(&self) -> ConfidenceFactors
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 ConfidenceFactors
impl Debug for ConfidenceFactors
Auto Trait Implementations§
impl Freeze for ConfidenceFactors
impl RefUnwindSafe for ConfidenceFactors
impl Send for ConfidenceFactors
impl Sync for ConfidenceFactors
impl Unpin for ConfidenceFactors
impl UnsafeUnpin for ConfidenceFactors
impl UnwindSafe for ConfidenceFactors
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