pub struct CliScanRequest {Show 28 fields
pub path: String,
pub mode: String,
pub depth: usize,
pub all: bool,
pub respect_gitignore: bool,
pub default_ignores: bool,
pub show_ignored: bool,
pub find: Option<String>,
pub file_type: Option<String>,
pub entry_type: Option<String>,
pub min_size: Option<String>,
pub max_size: Option<String>,
pub sort: Option<String>,
pub top: Option<usize>,
pub search: Option<String>,
pub compress: bool,
pub no_emoji: bool,
pub use_color: bool,
pub path_mode: String,
pub focus: Option<String>,
pub relations_filter: Option<String>,
pub show_filesystems: bool,
pub include_line_content: bool,
pub compact: bool,
pub smart: bool,
pub changes_only: bool,
pub min_interest: f32,
pub security: bool,
}Expand description
CLI scan request - all options from the CLI
Fields§
§path: StringPath to scan (required)
mode: StringOutput mode (classic, ai, quantum, json, etc.)
depth: usizeMax depth (0 = auto based on mode)
all: boolShow hidden files
respect_gitignore: boolRespect .gitignore
default_ignores: boolUse default ignores (node_modules, etc.)
show_ignored: boolShow ignored entries
find: Option<String>Find pattern (regex for filename matching)
file_type: Option<String>File type filter (e.g., “rs”, “py”)
entry_type: Option<String>Entry type filter (“f” for files, “d” for directories)
min_size: Option<String>Min file size (e.g., “1M”, “500K”)
max_size: Option<String>Max file size
sort: Option<String>Sort field (name, size, date, type)
top: Option<usize>Top N results (used with sort)
search: Option<String>Search content keyword
compress: boolEnable zlib compression on output
no_emoji: boolNo emoji in output
use_color: boolUse color in output
path_mode: StringPath display mode (off, relative, full)
focus: Option<String>Focus file (for relations mode)
relations_filter: Option<String>Relations filter
show_filesystems: boolShow filesystem type indicators
include_line_content: boolInclude line content in search results
compact: boolCompact JSON output
smart: boolEnable smart mode - groups by interest, shows changes, minimal output
changes_only: boolOnly show changes since last scan
min_interest: f32Minimum interest level to show (0.0-1.0)
security: boolEnable security scanning
Trait Implementations§
Source§impl Clone for CliScanRequest
impl Clone for CliScanRequest
Source§fn clone(&self) -> CliScanRequest
fn clone(&self) -> CliScanRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for CliScanRequest
impl Debug for CliScanRequest
Source§impl<'de> Deserialize<'de> for CliScanRequest
impl<'de> Deserialize<'de> for CliScanRequest
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>,
Auto Trait Implementations§
impl Freeze for CliScanRequest
impl RefUnwindSafe for CliScanRequest
impl Send for CliScanRequest
impl Sync for CliScanRequest
impl Unpin for CliScanRequest
impl UnsafeUnpin for CliScanRequest
impl UnwindSafe for CliScanRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
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