pub struct ScoringFeatures {
pub enable_centrality: bool,
pub enable_template_boost: bool,
pub enable_doc_analysis: bool,
pub enable_test_linking: bool,
pub enable_churn_analysis: bool,
pub enable_examples_detection: bool,
}Expand description
Feature flags for scoring system capabilities
Fields§
§enable_centrality: boolEnable PageRank centrality calculation (V2)
enable_template_boost: boolEnable template detection boost
enable_doc_analysis: boolEnable advanced document analysis
enable_test_linking: boolEnable test-code relationship detection
enable_churn_analysis: boolEnable git churn analysis
enable_examples_detection: boolEnable examples detection
Implementations§
Trait Implementations§
Source§impl Clone for ScoringFeatures
impl Clone for ScoringFeatures
Source§fn clone(&self) -> ScoringFeatures
fn clone(&self) -> ScoringFeatures
Returns a duplicate of the value. Read more
1.0.0 · 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 ScoringFeatures
impl Debug for ScoringFeatures
Auto Trait Implementations§
impl Freeze for ScoringFeatures
impl RefUnwindSafe for ScoringFeatures
impl Send for ScoringFeatures
impl Sync for ScoringFeatures
impl Unpin for ScoringFeatures
impl UnwindSafe for ScoringFeatures
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