pub struct Finding {
pub class: &'static str,
pub severity: Severity,
pub product: Option<String>,
pub path: PathBuf,
pub message: String,
}Fields§
§class: &'static strStable class name (e.g. agent-home-leak). Matches the source
doc’s class taxonomy.
severity: Severity§product: Option<String>Optional product context. None for product-agnostic classes
(source-manifest validity, source-tree $AGENT_HOME leak).
path: PathBufFile the finding is attached to, relative to the source root when possible. Absolute paths are preserved when the location is outside the source root (rare; only the source-doc allowlist today).
message: StringTrait Implementations§
impl Eq for Finding
impl StructuralPartialEq for Finding
Auto Trait Implementations§
impl Freeze for Finding
impl RefUnwindSafe for Finding
impl Send for Finding
impl Sync for Finding
impl Unpin for Finding
impl UnsafeUnpin for Finding
impl UnwindSafe for Finding
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
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.