pub struct DirectLlmResult {
pub response: LlmResponse,
pub llm_call: LlmCallRecord,
}Expand description
Successful single-shot direct LLM result with the sealed provider-attempt history that produced it.
Fields§
§response: LlmResponse§llm_call: LlmCallRecordImplementations§
Source§impl DirectLlmResult
impl DirectLlmResult
pub fn into_response(self) -> LlmResponse
Trait Implementations§
Source§impl Clone for DirectLlmResult
impl Clone for DirectLlmResult
Source§fn clone(&self) -> DirectLlmResult
fn clone(&self) -> DirectLlmResult
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 moreSource§impl Debug for DirectLlmResult
impl Debug for DirectLlmResult
Source§impl Deref for DirectLlmResult
impl Deref for DirectLlmResult
Source§type Target = LlmResponse
type Target = LlmResponse
The resulting type after dereferencing.
Auto Trait Implementations§
impl Freeze for DirectLlmResult
impl RefUnwindSafe for DirectLlmResult
impl Send for DirectLlmResult
impl Sync for DirectLlmResult
impl Unpin for DirectLlmResult
impl UnsafeUnpin for DirectLlmResult
impl UnwindSafe for DirectLlmResult
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