pub struct DeadCodeNextStepsInput<'a> {
pub suggestions_enabled: bool,
pub results: &'a AnalysisResults,
pub root: &'a Path,
pub offer_setup: bool,
pub impact_digest: Option<ImpactDigestCounts>,
pub workspace_ref: Option<&'a str>,
pub audit_changed: bool,
pub has_external_plugins: bool,
pub baseline_recheck: Option<BaselineRecheckInput<'a>>,
}Expand description
Runtime-independent inputs for standalone dead-code next steps.
Fields§
§suggestions_enabled: boolFalse when FALLOW_SUGGESTIONS=off; suppresses all steps.
results: &'a AnalysisResultsAnalysis results the steps are derived from.
root: &'a PathAnalysis root, used to render trace targets relative.
offer_setup: boolOffer the guided-setup pointer because no fallow config exists yet.
impact_digest: Option<ImpactDigestCounts>Local impact digest counters, when a digest is available.
workspace_ref: Option<&'a str>Workspace name to scope suggested commands to, when analysing one.
audit_changed: boolOffer fallow audit because the working tree has changed files.
has_external_plugins: boolThe project has external plugins declared; when files are also unused,
route the agent to fallow plugin-check to verify what they seed.
baseline_recheck: Option<BaselineRecheckInput<'a>>The loaded baseline this run was too narrow to judge, when there is one.
Trait Implementations§
Source§impl<'a> Clone for DeadCodeNextStepsInput<'a>
impl<'a> Clone for DeadCodeNextStepsInput<'a>
impl<'a> Copy for DeadCodeNextStepsInput<'a>
Auto Trait Implementations§
impl<'a> Freeze for DeadCodeNextStepsInput<'a>
impl<'a> RefUnwindSafe for DeadCodeNextStepsInput<'a>
impl<'a> Send for DeadCodeNextStepsInput<'a>
impl<'a> Sync for DeadCodeNextStepsInput<'a>
impl<'a> Unpin for DeadCodeNextStepsInput<'a>
impl<'a> UnsafeUnpin for DeadCodeNextStepsInput<'a>
impl<'a> UnwindSafe for DeadCodeNextStepsInput<'a>
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