pub struct ExecutorConfig {
pub api_key: Option<String>,
pub base_url: Option<String>,
pub working_dir: Option<String>,
}Expand description
Configuration for the executor itself (not per-session).
Fields§
§api_key: Option<String>API key for authentication.
base_url: Option<String>Base URL override (for OpenCode server, etc.).
working_dir: Option<String>Working directory for CLI discovery.
Trait Implementations§
Source§impl Clone for ExecutorConfig
impl Clone for ExecutorConfig
Source§fn clone(&self) -> ExecutorConfig
fn clone(&self) -> ExecutorConfig
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 ExecutorConfig
impl Debug for ExecutorConfig
Source§impl Default for ExecutorConfig
impl Default for ExecutorConfig
Source§fn default() -> ExecutorConfig
fn default() -> ExecutorConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ExecutorConfig
impl RefUnwindSafe for ExecutorConfig
impl Send for ExecutorConfig
impl Sync for ExecutorConfig
impl Unpin for ExecutorConfig
impl UnsafeUnpin for ExecutorConfig
impl UnwindSafe for ExecutorConfig
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