pub struct ProviderCompletion {
pub response: LlmResponse,
pub call_record: LlmCallRecord,
}Expand description
Successful provider-handle outcome with the sealed attempt history that
produced it. The inner provider response remains available through
Deref for source-compatible field access.
Fields§
§response: LlmResponse§call_record: LlmCallRecordImplementations§
Source§impl ProviderCompletion
impl ProviderCompletion
pub fn into_response(self) -> LlmResponse
Trait Implementations§
Source§impl Debug for ProviderCompletion
impl Debug for ProviderCompletion
Auto Trait Implementations§
impl Freeze for ProviderCompletion
impl RefUnwindSafe for ProviderCompletion
impl Send for ProviderCompletion
impl Sync for ProviderCompletion
impl Unpin for ProviderCompletion
impl UnsafeUnpin for ProviderCompletion
impl UnwindSafe for ProviderCompletion
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