pub struct HygieneIssue {
pub file: String,
pub severity: &'static str,
pub body: String,
}Expand description
A deterministic “diff-hygiene” issue: a property of the change set (not the code) worth flagging without an LLM — a binary swept into a commit, an oversized generated file. Reviewer-coverage class D: cheaper, zero-variance, and it cannot hallucinate, so it’s strictly better than asking the model.
Fields§
§file: StringNew-side path of the offending file.
severity: &'static str"MEDIUM" or "LOW" — mapped straight onto a finding’s severity.
body: StringHuman-facing explanation, already in the <problem>. Fix: <fix> shape.
Trait Implementations§
Source§impl Clone for HygieneIssue
impl Clone for HygieneIssue
Source§fn clone(&self) -> HygieneIssue
fn clone(&self) -> HygieneIssue
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 moreSource§impl Debug for HygieneIssue
impl Debug for HygieneIssue
impl Eq for HygieneIssue
Source§impl PartialEq for HygieneIssue
impl PartialEq for HygieneIssue
impl StructuralPartialEq for HygieneIssue
Auto Trait Implementations§
impl Freeze for HygieneIssue
impl RefUnwindSafe for HygieneIssue
impl Send for HygieneIssue
impl Sync for HygieneIssue
impl Unpin for HygieneIssue
impl UnsafeUnpin for HygieneIssue
impl UnwindSafe for HygieneIssue
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.