pub struct HistoryConfig {
pub max_commands: usize,
pub max_memory: usize,
pub enable_merging: bool,
pub auto_group_interval_ms: u64,
}Expand description
Configuration for command history
Fields§
§max_commands: usizeMaximum number of commands to keep
max_memory: usizeMaximum memory usage in bytes
enable_merging: boolEnable command merging
auto_group_interval_ms: u64Automatically group rapid commands
Trait Implementations§
Source§impl Clone for HistoryConfig
impl Clone for HistoryConfig
Source§fn clone(&self) -> HistoryConfig
fn clone(&self) -> HistoryConfig
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 HistoryConfig
impl Debug for HistoryConfig
Auto Trait Implementations§
impl Freeze for HistoryConfig
impl RefUnwindSafe for HistoryConfig
impl Send for HistoryConfig
impl Sync for HistoryConfig
impl Unpin for HistoryConfig
impl UnwindSafe for HistoryConfig
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