pub struct AppConfig {
pub whisper_model_path: PathBuf,
pub opencode_port: u16,
pub toggle_key: char,
pub model_size: ModelSize,
pub auto_submit: bool,
pub server_password: Option<String>,
pub data_dir: PathBuf,
pub audio_device: Option<String>,
pub use_global_hotkey: bool,
pub global_hotkey: String,
pub push_to_talk: bool,
pub approval_mode: bool,
}Expand description
Resolved application configuration.
Fields§
§whisper_model_path: PathBuf§opencode_port: u16§toggle_key: char§model_size: ModelSize§auto_submit: bool§server_password: Option<String>§data_dir: PathBuf§audio_device: Option<String>§use_global_hotkey: bool§global_hotkey: String§push_to_talk: bool§approval_mode: boolImplementations§
Trait Implementations§
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