pub struct ParentPrimaryModel {
pub provider: Arc<dyn ModelProvider>,
pub model: ModelName,
pub retry_policy: ModelRetryPolicy,
}Expand description
Snapshot of the parent runtime’s currently active primary provider/model.
Fields§
§provider: Arc<dyn ModelProvider>Active primary provider handle (reflects live TUI switches).
model: ModelNameActive primary model identifier.
retry_policy: ModelRetryPolicyActive provider retry policy.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ParentPrimaryModel
impl !UnwindSafe for ParentPrimaryModel
impl Forget for ParentPrimaryModel
impl Freeze for ParentPrimaryModel
impl Move for ParentPrimaryModel
impl Send for ParentPrimaryModel
impl Sync for ParentPrimaryModel
impl Unpin for ParentPrimaryModel
impl UnsafeUnpin for ParentPrimaryModel
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