pub struct Insight {
pub turn_index: usize,
pub diagnostic: Diagnostic,
pub message: String,
pub severity: Severity,
}Expand description
Diagnostic insight about a specific turn in a session.
Represents a finding from applying a diagnostic check to a turn, including the turn location, the diagnostic that detected it, and a human-readable message describing the issue.
Fields§
§turn_index: usizeZero-based turn index where the insight was detected.
diagnostic: DiagnosticThe diagnostic check that produced this insight.
message: StringHuman-readable description of the finding.
severity: SeveritySeverity level of this insight.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Insight
impl RefUnwindSafe for Insight
impl Send for Insight
impl Sync for Insight
impl Unpin for Insight
impl UnwindSafe for Insight
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