pub struct TrustNodeOutput {
pub node_id: String,
pub label: String,
pub trust_score: f32,
pub defect_density: f32,
pub risk_multiplier: f32,
pub recency_factor: f32,
pub defect_count: u32,
pub false_alarm_count: u32,
pub partial_count: u32,
pub total_learn_events: u32,
pub last_defect_age_hours: f64,
pub tier: TrustTier,
}Expand description
Trust score output for a single node in a trust report.
Fields§
§node_id: StringExternal ID of the node.
label: StringHuman-readable label (last :: segment of external_id).
trust_score: f32Trust score in [0.05, 1.0].
defect_density: f32Raw defect density.
risk_multiplier: f32Risk multiplier.
recency_factor: f32Recency factor.
defect_count: u32Number of confirmed defects.
false_alarm_count: u32Number of false alarms.
partial_count: u32Number of partial matches.
total_learn_events: u32Total learn events.
last_defect_age_hours: f64Hours since last defect (-1.0 if no defects recorded).
tier: TrustTierRisk tier.
Trait Implementations§
Source§impl Clone for TrustNodeOutput
impl Clone for TrustNodeOutput
Source§fn clone(&self) -> TrustNodeOutput
fn clone(&self) -> TrustNodeOutput
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 TrustNodeOutput
impl Debug for TrustNodeOutput
Auto Trait Implementations§
impl Freeze for TrustNodeOutput
impl RefUnwindSafe for TrustNodeOutput
impl Send for TrustNodeOutput
impl Sync for TrustNodeOutput
impl Unpin for TrustNodeOutput
impl UnsafeUnpin for TrustNodeOutput
impl UnwindSafe for TrustNodeOutput
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