pub struct AuditorFinding {
pub title: String,
pub description: String,
pub confidence: f64,
pub severity: Severity,
pub suggestion: String,
pub line_numbers: Vec<usize>,
pub category: String,
}Expand description
A single finding produced by an AI auditor.
Fields§
§title: StringHuman-readable title.
description: StringDetailed description of the vulnerability.
confidence: f64Model confidence (0.0 – 1.0).
severity: SeverityAssigned severity.
suggestion: StringSuggested remediation.
line_numbers: Vec<usize>Line numbers where the issue appears.
category: StringVulnerability category (e.g. “Reentrancy”, “AccessControl”).
Trait Implementations§
Source§impl Clone for AuditorFinding
impl Clone for AuditorFinding
Source§fn clone(&self) -> AuditorFinding
fn clone(&self) -> AuditorFinding
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 moreAuto Trait Implementations§
impl Freeze for AuditorFinding
impl RefUnwindSafe for AuditorFinding
impl Send for AuditorFinding
impl Sync for AuditorFinding
impl Unpin for AuditorFinding
impl UnsafeUnpin for AuditorFinding
impl UnwindSafe for AuditorFinding
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more