pub struct ConfigInfoLite {
pub model: Option<String>,
pub small_model: Option<String>,
pub default_agent: Option<String>,
pub share: Option<String>,
pub mcp: Option<Value>,
pub extra: Value,
}Expand description
Lightweight config info with commonly-used typed fields.
This provides typed access to frequently-used config fields while preserving unknown fields via flatten. Use this when you need quick access to common config values without full Config.Info typing.
Fields§
§model: Option<String>Default model.
small_model: Option<String>Small model for lightweight tasks.
default_agent: Option<String>Default agent.
Share setting (“manual” | “auto” | “disabled”).
mcp: Option<Value>MCP configuration (complex type, kept as Value).
extra: ValueAdditional config fields.
Trait Implementations§
Source§impl Clone for ConfigInfoLite
impl Clone for ConfigInfoLite
Source§fn clone(&self) -> ConfigInfoLite
fn clone(&self) -> ConfigInfoLite
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 ConfigInfoLite
impl Debug for ConfigInfoLite
Source§impl<'de> Deserialize<'de> for ConfigInfoLite
impl<'de> Deserialize<'de> for ConfigInfoLite
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 ConfigInfoLite
impl RefUnwindSafe for ConfigInfoLite
impl Send for ConfigInfoLite
impl Sync for ConfigInfoLite
impl Unpin for ConfigInfoLite
impl UnwindSafe for ConfigInfoLite
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