pub struct TimeBasedMCConfig {
pub enabled: bool,
pub gap_threshold_minutes: u64,
pub keep_recent: usize,
}Expand description
Configuration for time-based microcompact
Fields§
§enabled: boolWhether time-based MC is enabled
gap_threshold_minutes: u64Gap threshold in minutes (default: 60)
keep_recent: usizeNumber of recent compactable tool results to keep (default: 5)
Trait Implementations§
Source§impl Clone for TimeBasedMCConfig
impl Clone for TimeBasedMCConfig
Source§fn clone(&self) -> TimeBasedMCConfig
fn clone(&self) -> TimeBasedMCConfig
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 TimeBasedMCConfig
impl Debug for TimeBasedMCConfig
Auto Trait Implementations§
impl Freeze for TimeBasedMCConfig
impl RefUnwindSafe for TimeBasedMCConfig
impl Send for TimeBasedMCConfig
impl Sync for TimeBasedMCConfig
impl Unpin for TimeBasedMCConfig
impl UnsafeUnpin for TimeBasedMCConfig
impl UnwindSafe for TimeBasedMCConfig
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