pub struct DiagnosticFinding {
pub id: String,
pub title: String,
pub description: String,
pub severity: DiagnosticSeverity,
pub evidence: Vec<String>,
pub confidence: u8,
}Expand description
Individual diagnostic finding
Fields§
§id: StringFinding identifier
title: StringFinding title
description: StringFinding description
severity: DiagnosticSeveritySeverity level
evidence: Vec<String>Evidence
confidence: u8Confidence score (0-100)
Trait Implementations§
Source§impl Debug for DiagnosticFinding
impl Debug for DiagnosticFinding
Source§impl<'de> Deserialize<'de> for DiagnosticFinding
impl<'de> Deserialize<'de> for DiagnosticFinding
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
Auto Trait Implementations§
impl Freeze for DiagnosticFinding
impl RefUnwindSafe for DiagnosticFinding
impl Send for DiagnosticFinding
impl Sync for DiagnosticFinding
impl Unpin for DiagnosticFinding
impl UnwindSafe for DiagnosticFinding
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