pub enum CommandKind {
Show 28 variants
Combined,
Audit,
DeadCode,
Dupes,
Health,
List,
Fix,
Watch,
Viz,
Flags,
Suppressions,
TraceDependency,
TracePath,
TraceChain,
TraceError,
Security,
Inspect,
CoverageAnalyze,
CoverageUpload,
Guard,
RulePack,
BaselinesPrune,
Mutation,
SimilarCode,
PluginCheck,
DecisionSurface,
Doctor,
Editor,
}Expand description
The command of a run. There is one variant per distinct rule for the environment variables and for the selection of analyses.
Variants§
Combined
The bare fallow run and the combined API route.
Audit
fallow audit.
DeadCode
fallow dead-code and the dead-code routes.
Dupes
fallow dupes and the duplication routes.
Health
fallow health and the health routes.
List
fallow list.
Fix
fallow fix.
Watch
fallow watch.
Viz
fallow viz.
Flags
fallow flags.
Suppressions
fallow suppressions.
TraceDependency
fallow trace for a dependency.
TracePath
fallow trace --path.
TraceChain
fallow trace for a re-export chain.
TraceError
fallow trace-error.
Security
fallow security.
Inspect
fallow inspect.
CoverageAnalyze
fallow coverage analyze.
CoverageUpload
fallow coverage upload.
Guard
fallow guard.
RulePack
fallow rule-pack.
BaselinesPrune
fallow baselines prune.
Mutation
fallow mutation.
SimilarCode
fallow similar-code.
PluginCheck
fallow plugin-check.
DecisionSurface
The MCP decision surface.
Doctor
fallow doctor.
Editor
An editor session of the language server.
Trait Implementations§
Source§impl Clone for CommandKind
impl Clone for CommandKind
Source§fn clone(&self) -> CommandKind
fn clone(&self) -> CommandKind
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for CommandKind
Source§impl Debug for CommandKind
impl Debug for CommandKind
impl Eq for CommandKind
Source§impl Hash for CommandKind
impl Hash for CommandKind
Source§impl JsonSchema for CommandKind
impl JsonSchema for CommandKind
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read moreSource§impl PartialEq for CommandKind
impl PartialEq for CommandKind
Source§impl Serialize for CommandKind
impl Serialize for CommandKind
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl StructuralPartialEq for CommandKind
Auto Trait Implementations§
impl Forget for CommandKind
impl Freeze for CommandKind
impl Move for CommandKind
impl RefUnwindSafe for CommandKind
impl Send for CommandKind
impl Sync for CommandKind
impl Unpin for CommandKind
impl UnsafeUnpin for CommandKind
impl UnwindSafe for CommandKind
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more