pub struct CompactionRules {
pub tool_result_threshold_turns: usize,
pub max_tool_result_chars: usize,
pub remove_old_thinking: bool,
}Fields§
§tool_result_threshold_turns: usize§max_tool_result_chars: usize§remove_old_thinking: boolTrait Implementations§
Source§impl Clone for CompactionRules
impl Clone for CompactionRules
Source§fn clone(&self) -> CompactionRules
fn clone(&self) -> CompactionRules
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 moreAuto Trait Implementations§
impl Freeze for CompactionRules
impl RefUnwindSafe for CompactionRules
impl Send for CompactionRules
impl Sync for CompactionRules
impl Unpin for CompactionRules
impl UnsafeUnpin for CompactionRules
impl UnwindSafe for CompactionRules
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