struct RawScan {
source_extensions: Option<Vec<String>>,
exclude_dir_names: Option<Vec<String>>,
exclude_dir_suffixes: Option<Vec<String>>,
exclude_path_prefixes: Option<Vec<String>>,
non_source_path_prefixes: Option<Vec<String>>,
max_scan_lines: Option<usize>,
text_index_max_bytes: Option<u64>,
language_overrides: Option<BTreeMap<String, String>>,
}Expand description
Raw scan table.
Fields§
§source_extensions: Option<Vec<String>>Source extensions.
exclude_dir_names: Option<Vec<String>>Excluded directory names.
exclude_dir_suffixes: Option<Vec<String>>Excluded directory suffixes.
exclude_path_prefixes: Option<Vec<String>>Excluded path prefixes.
non_source_path_prefixes: Option<Vec<String>>Non-source path prefixes.
max_scan_lines: Option<usize>Maximum header scan lines.
text_index_max_bytes: Option<u64>Maximum UTF-8 file size persisted into SQLite text search.
language_overrides: Option<BTreeMap<String, String>>Explicit exact-filename or extension language selections.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RawScan
impl<'de> Deserialize<'de> for RawScan
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
Auto Trait Implementations§
impl Freeze for RawScan
impl RefUnwindSafe for RawScan
impl Send for RawScan
impl Sync for RawScan
impl Unpin for RawScan
impl UnwindSafe for RawScan
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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>
Converts
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>
Converts
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