pub struct ModelSwitchScan {
pub model_switch: Option<String>,
pub model_switch_tier: Option<Tier>,
pub stripped_diff: String,
}Expand description
Result of scanning a unified diff for an inline /model <x> command.
Fields§
§model_switch: Option<String>The concrete model name from /model <name> (e.g., "opus").
model_switch_tier: Option<Tier>The resolved tier for the model switch (e.g., Tier::High for opus).
stripped_diff: StringThe diff text with the /model <x> command line(s) stripped.
Trait Implementations§
Source§impl Clone for ModelSwitchScan
impl Clone for ModelSwitchScan
Auto Trait Implementations§
impl Forget for ModelSwitchScan
impl Freeze for ModelSwitchScan
impl RefUnwindSafe for ModelSwitchScan
impl Send for ModelSwitchScan
impl Sync for ModelSwitchScan
impl Unpin for ModelSwitchScan
impl UnsafeUnpin for ModelSwitchScan
impl UnwindSafe for ModelSwitchScan
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