pub struct FocusUnit {
pub file: String,
pub score: FocusScore,
pub label: FocusLabel,
pub reason: String,
pub confidence: Vec<ConfidenceFlag>,
}Expand description
One review unit on the focus map: its file, composite score, label, human reason, and any confidence flags.
Fields§
§file: StringRoot-relative path of the changed file this unit covers.
score: FocusScoreThe composite attention score and its component breakdown.
label: FocusLabelThe focus label (review-here / not-prioritized, or the runtime-backed
skip on the paid path).
reason: StringA human-readable reason for the label, built from the present signals.
confidence: Vec<ConfidenceFlag>Confidence flags (advisory; never lower the score). Sorted, deduped.
Trait Implementations§
impl Eq for FocusUnit
impl StructuralPartialEq for FocusUnit
Auto Trait Implementations§
impl Freeze for FocusUnit
impl RefUnwindSafe for FocusUnit
impl Send for FocusUnit
impl Sync for FocusUnit
impl Unpin for FocusUnit
impl UnsafeUnpin for FocusUnit
impl UnwindSafe for FocusUnit
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.