pub struct FeatureFlags {
pub centrality_enabled: bool,
pub entrypoint_detection: bool,
pub examples_analysis: bool,
pub semantic_analysis: bool,
pub ml_features: bool,
pub experimental_scoring: bool,
pub scaling_enabled: bool,
pub auto_exclude_tests: bool,
}
Expand description
Feature flags for experimental features
Fields§
§centrality_enabled: bool
Enable PageRank centrality computation
entrypoint_detection: bool
Enable entrypoint detection
examples_analysis: bool
Enable examples/usage analysis
semantic_analysis: bool
Enable semantic analysis (if available)
ml_features: bool
Enable machine learning features
experimental_scoring: bool
Enable experimental scoring algorithms
scaling_enabled: bool
Enable scaling optimizations for large repositories
auto_exclude_tests: bool
Automatically exclude test files from selection
Implementations§
Source§impl FeatureFlags
impl FeatureFlags
Sourcepub fn has_v2_features(&self) -> bool
pub fn has_v2_features(&self) -> bool
Check if any V2 features are enabled
Sourcepub fn enabled_features(&self) -> Vec<&'static str>
pub fn enabled_features(&self) -> Vec<&'static str>
Get list of enabled feature names
Trait Implementations§
Source§impl Clone for FeatureFlags
impl Clone for FeatureFlags
Source§fn clone(&self) -> FeatureFlags
fn clone(&self) -> FeatureFlags
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 FeatureFlags
impl Debug for FeatureFlags
Source§impl Default for FeatureFlags
impl Default for FeatureFlags
Source§impl<'de> Deserialize<'de> for FeatureFlags
impl<'de> Deserialize<'de> for FeatureFlags
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for FeatureFlags
impl Hash for FeatureFlags
Auto Trait Implementations§
impl Freeze for FeatureFlags
impl RefUnwindSafe for FeatureFlags
impl Send for FeatureFlags
impl Sync for FeatureFlags
impl Unpin for FeatureFlags
impl UnwindSafe for FeatureFlags
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