pub struct AutoConfig {
pub provider: Option<String>,
pub model: Option<String>,
}Expand description
Auto-selection configuration.
Fields§
§provider: Option<String>Provider used for auto-selection (default: “claude”)
model: Option<String>Model used for auto-selection (default: “sonnet”)
Trait Implementations§
Source§impl Clone for AutoConfig
impl Clone for AutoConfig
Source§fn clone(&self) -> AutoConfig
fn clone(&self) -> AutoConfig
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 AutoConfig
impl Debug for AutoConfig
Source§impl Default for AutoConfig
impl Default for AutoConfig
Source§fn default() -> AutoConfig
fn default() -> AutoConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AutoConfig
impl<'de> Deserialize<'de> for AutoConfig
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 AutoConfig
impl RefUnwindSafe for AutoConfig
impl Send for AutoConfig
impl Sync for AutoConfig
impl Unpin for AutoConfig
impl UnsafeUnpin for AutoConfig
impl UnwindSafe for AutoConfig
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