pub struct CoreModelSwitchConfig {
pub allow_switch: Option<bool>,
}Expand description
[core.model_switch] (design’s [core.model]; see the naming-conflict
doc comment above).
Fields§
§allow_switch: Option<bool>NEW core subsystem: mid-session switch + persisted model_change
records (§1.10). P4: consumed by the agentic loop + session store.
Trait Implementations§
Source§impl Clone for CoreModelSwitchConfig
impl Clone for CoreModelSwitchConfig
Source§fn clone(&self) -> CoreModelSwitchConfig
fn clone(&self) -> CoreModelSwitchConfig
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 CoreModelSwitchConfig
impl Debug for CoreModelSwitchConfig
Source§impl Default for CoreModelSwitchConfig
impl Default for CoreModelSwitchConfig
Source§fn default() -> CoreModelSwitchConfig
fn default() -> CoreModelSwitchConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CoreModelSwitchConfig
impl<'de> Deserialize<'de> for CoreModelSwitchConfig
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
Source§impl PartialEq for CoreModelSwitchConfig
impl PartialEq for CoreModelSwitchConfig
Source§impl Serialize for CoreModelSwitchConfig
impl Serialize for CoreModelSwitchConfig
impl StructuralPartialEq for CoreModelSwitchConfig
Auto Trait Implementations§
impl Freeze for CoreModelSwitchConfig
impl RefUnwindSafe for CoreModelSwitchConfig
impl Send for CoreModelSwitchConfig
impl Sync for CoreModelSwitchConfig
impl Unpin for CoreModelSwitchConfig
impl UnsafeUnpin for CoreModelSwitchConfig
impl UnwindSafe for CoreModelSwitchConfig
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