pub struct WorkingSetConfig {
pub max_entries: usize,
pub max_pinned_paths: usize,
pub max_scan_chars: usize,
pub max_prompt_entries: usize,
}Expand description
Configuration for working-set tracking.
Fields§
§max_entries: usizeMaximum number of entries to keep.
max_pinned_paths: usizeMaximum number of paths to pin during compaction.
max_scan_chars: usizeMaximum characters to scan per text block when pinning messages.
max_prompt_entries: usizeMaximum entries to show in the system prompt block.
Trait Implementations§
Source§impl Clone for WorkingSetConfig
impl Clone for WorkingSetConfig
Source§fn clone(&self) -> WorkingSetConfig
fn clone(&self) -> WorkingSetConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WorkingSetConfig
impl Debug for WorkingSetConfig
Source§impl Default for WorkingSetConfig
impl Default for WorkingSetConfig
Source§impl<'de> Deserialize<'de> for WorkingSetConfig
impl<'de> Deserialize<'de> for WorkingSetConfig
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 WorkingSetConfig
impl RefUnwindSafe for WorkingSetConfig
impl Send for WorkingSetConfig
impl Sync for WorkingSetConfig
impl Unpin for WorkingSetConfig
impl UnsafeUnpin for WorkingSetConfig
impl UnwindSafe for WorkingSetConfig
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