pub struct ConfigOverrides {
pub provider: Option<String>,
pub model: Option<String>,
pub base_url: Option<String>,
pub approval_policy: Option<ApprovalPolicy>,
pub no_tools: bool,
pub config_file: Option<PathBuf>,
}Expand description
What the command line, or a client’s session.start, changes on top of
the configuration files.
Fields§
§provider: Option<String>§model: Option<String>§base_url: Option<String>§approval_policy: Option<ApprovalPolicy>§no_tools: bool§config_file: Option<PathBuf>An explicit configuration layer (--config, or SCV_CONFIG as the
process received it), applied after the user and project files.
Trait Implementations§
Source§impl Clone for ConfigOverrides
impl Clone for ConfigOverrides
Source§impl Debug for ConfigOverrides
impl Debug for ConfigOverrides
Auto Trait Implementations§
impl Freeze for ConfigOverrides
impl RefUnwindSafe for ConfigOverrides
impl Send for ConfigOverrides
impl Sync for ConfigOverrides
impl Unpin for ConfigOverrides
impl UnsafeUnpin for ConfigOverrides
impl UnwindSafe for ConfigOverrides
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