pub struct AppConfig {
pub theme: ThemeConfig,
pub history_limit: usize,
pub retention_days: u32,
pub max_log_lines_in_memory: usize,
pub max_persisted_log_lines: usize,
pub database_path: PathBuf,
pub detection_poll_interval_ms: u64,
pub auto_follow_running_session: bool,
pub capture_raw_log_storage: bool,
pub command_presets: Vec<CommandPreset>,
}Expand description
Runtime configuration.
Fields§
§theme: ThemeConfigConfigured theme colors.
history_limit: usizeHow many recent sessions to show by default.
retention_days: u32Number of days to keep old sessions.
max_log_lines_in_memory: usizeMaximum number of log lines held in memory per loaded session.
max_persisted_log_lines: usizeMaximum number of raw log lines stored in SQLite per session.
database_path: PathBufOverride path for the SQLite database.
detection_poll_interval_ms: u64How frequently external process detection runs.
auto_follow_running_session: boolWhether the TUI should auto-follow active sessions.
capture_raw_log_storage: boolWhether raw logs should be persisted.
command_presets: Vec<CommandPreset>User-visible starter commands for the TUI.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AppConfig
impl<'de> Deserialize<'de> for AppConfig
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
impl StructuralPartialEq for AppConfig
Auto Trait Implementations§
impl Freeze for AppConfig
impl RefUnwindSafe for AppConfig
impl Send for AppConfig
impl Sync for AppConfig
impl Unpin for AppConfig
impl UnsafeUnpin for AppConfig
impl UnwindSafe for AppConfig
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