pub struct CliToolsConfig {
pub ls_page_size: u32,
pub grep_default_limit: u32,
pub glob_default_limit: u32,
pub max_depth: u32,
pub pagination_cache_ttl_secs: u64,
pub extra_ignore_patterns: Vec<String>,
}Expand description
Configuration for CLI tools (grep, glob, ls).
Fields§
§ls_page_size: u32Default page size for ls results (default: 100).
grep_default_limit: u32Default head_limit for grep results (default: 200).
glob_default_limit: u32Default head_limit for glob results (default: 500).
max_depth: u32Maximum directory traversal depth (default: 10).
pagination_cache_ttl_secs: u64Pagination cache TTL in seconds (default: 300 = 5 minutes).
extra_ignore_patterns: Vec<String>Additional ignore patterns to append to builtin ignores.
Trait Implementations§
Source§impl Clone for CliToolsConfig
impl Clone for CliToolsConfig
Source§fn clone(&self) -> CliToolsConfig
fn clone(&self) -> CliToolsConfig
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 CliToolsConfig
impl Debug for CliToolsConfig
Source§impl Default for CliToolsConfig
impl Default for CliToolsConfig
Source§impl<'de> Deserialize<'de> for CliToolsConfigwhere
CliToolsConfig: Default,
impl<'de> Deserialize<'de> for CliToolsConfigwhere
CliToolsConfig: Default,
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 JsonSchema for CliToolsConfig
impl JsonSchema for CliToolsConfig
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for CliToolsConfig
impl RefUnwindSafe for CliToolsConfig
impl Send for CliToolsConfig
impl Sync for CliToolsConfig
impl Unpin for CliToolsConfig
impl UnsafeUnpin for CliToolsConfig
impl UnwindSafe for CliToolsConfig
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