pub struct AppConfig {
pub port: u16,
pub workspace: PathBuf,
pub build_command: String,
pub allowed_commands: Vec<String>,
pub script_execution_enabled: bool,
pub script_allowed_languages: Vec<String>,
pub script_timeout_secs: u64,
pub script_enable_network: bool,
pub enable_worktrees: bool,
pub worktrees_dir: PathBuf,
}Fields§
§port: u16§workspace: PathBuf§build_command: String§allowed_commands: Vec<String>§script_execution_enabled: bool§script_allowed_languages: Vec<String>§script_timeout_secs: u64§script_enable_network: bool§enable_worktrees: bool§worktrees_dir: PathBufImplementations§
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