pub struct FileScoreEntry {
pub score: f64,
pub file: String,
pub layer: String,
pub last_touched_days: Option<f64>,
pub hot: bool,
pub top_symbol: String,
pub why: String,
}Expand description
Plan A t-009 / Plan E t-006: per-file score entry built during the prepare-change candidate walk. Carries everything the JSON output needs without forcing the caller to re-derive layer/recency/why.
Fields§
§score: f64§file: String§layer: String§last_touched_days: Option<f64>§hot: bool§top_symbol: String§why: StringTrait Implementations§
Source§impl Clone for FileScoreEntry
impl Clone for FileScoreEntry
Source§impl Debug for FileScoreEntry
impl Debug for FileScoreEntry
Auto Trait Implementations§
impl Freeze for FileScoreEntry
impl RefUnwindSafe for FileScoreEntry
impl Send for FileScoreEntry
impl Sync for FileScoreEntry
impl Unpin for FileScoreEntry
impl UnsafeUnpin for FileScoreEntry
impl UnwindSafe for FileScoreEntry
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