pub struct Overrides {
pub agent: Option<String>,
pub model: Option<String>,
pub preset: Option<Preset>,
}Expand description
An agent and a model named on the command line. Both override the configuration and an applied route: a flag is the most recent statement of intent there is, and it covers the whole invocation.
Fields§
§agent: Option<String>§model: Option<String>§preset: Option<Preset>A preset named on the command line. Its fields sit below the flags and above an applied route, because naming one is a statement of intent about this invocation and a route is policy about the work.
Trait Implementations§
impl StructuralPartialEq for Overrides
Auto Trait Implementations§
impl Freeze for Overrides
impl RefUnwindSafe for Overrides
impl Send for Overrides
impl Sync for Overrides
impl Unpin for Overrides
impl UnsafeUnpin for Overrides
impl UnwindSafe for Overrides
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