pub struct WeakeningSignal {
pub kind: WeakeningKind,
pub file: String,
pub evidence: String,
}Expand description
One weakening signal: a category, the file it was detected in, and a short human-readable evidence string. Reviewer-private; never gates.
Fields§
§kind: WeakeningKindWhat kind of guardrail was weakened.
file: StringRoot-relative path of the changed file the signal was detected in.
evidence: StringShort evidence string (e.g. the offending token or the threshold delta).
Trait Implementations§
Source§impl Clone for WeakeningSignal
impl Clone for WeakeningSignal
Source§impl Debug for WeakeningSignal
impl Debug for WeakeningSignal
Auto Trait Implementations§
impl Freeze for WeakeningSignal
impl RefUnwindSafe for WeakeningSignal
impl Send for WeakeningSignal
impl Sync for WeakeningSignal
impl Unpin for WeakeningSignal
impl UnsafeUnpin for WeakeningSignal
impl UnwindSafe for WeakeningSignal
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