pub struct AiBackendConfig {
pub cmd: Vec<String>,
pub model: Option<String>,
pub model_flag: Option<String>,
pub system_flag: Option<String>,
}Fields§
§cmd: Vec<String>argv for user-defined backends. Empty for built-in backends
(claude, codex, gemini) where the entry only carries
model and system overrides.
model: Option<String>§model_flag: Option<String>§system_flag: Option<String>Trait Implementations§
Source§impl Clone for AiBackendConfig
impl Clone for AiBackendConfig
Source§fn clone(&self) -> AiBackendConfig
fn clone(&self) -> AiBackendConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AiBackendConfig
impl Debug for AiBackendConfig
Source§impl Default for AiBackendConfig
impl Default for AiBackendConfig
Source§fn default() -> AiBackendConfig
fn default() -> AiBackendConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AiBackendConfig
impl<'de> Deserialize<'de> for AiBackendConfig
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
Auto Trait Implementations§
impl Freeze for AiBackendConfig
impl RefUnwindSafe for AiBackendConfig
impl Send for AiBackendConfig
impl Sync for AiBackendConfig
impl Unpin for AiBackendConfig
impl UnsafeUnpin for AiBackendConfig
impl UnwindSafe for AiBackendConfig
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