pub struct ResolvedModelExecution {
pub model: String,
pub provider: ProviderKey,
pub provider_type: DriverId,
pub driver: Arc<dyn ChatDriver>,
}Expand description
Credential-safe provider input prepared by a runtime host.
The model and provider identities are safe values. Authentication and endpoint configuration are captured only inside the opaque driver.
Fields§
§model: StringProvider model name.
provider: ProviderKeyOpen provider account identity.
provider_type: DriverIdRegistered driver integration kind.
driver: Arc<dyn ChatDriver>Ready provider driver. Credential-bearing construction state stays opaque and is redacted from Debug output.
Trait Implementations§
Source§impl Clone for ResolvedModelExecution
impl Clone for ResolvedModelExecution
Source§fn clone(&self) -> ResolvedModelExecution
fn clone(&self) -> ResolvedModelExecution
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for ResolvedModelExecution
impl !UnwindSafe for ResolvedModelExecution
impl Freeze for ResolvedModelExecution
impl Send for ResolvedModelExecution
impl Sync for ResolvedModelExecution
impl Unpin for ResolvedModelExecution
impl UnsafeUnpin for ResolvedModelExecution
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