pub struct DirectLlmCompletion {
pub response: LlmResponse,
pub usage: TokenUsage,
}Fields§
§response: LlmResponse§usage: TokenUsageTrait Implementations§
Source§impl Clone for DirectLlmCompletion
impl Clone for DirectLlmCompletion
Source§fn clone(&self) -> DirectLlmCompletion
fn clone(&self) -> DirectLlmCompletion
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 Freeze for DirectLlmCompletion
impl RefUnwindSafe for DirectLlmCompletion
impl Send for DirectLlmCompletion
impl Sync for DirectLlmCompletion
impl Unpin for DirectLlmCompletion
impl UnsafeUnpin for DirectLlmCompletion
impl UnwindSafe for DirectLlmCompletion
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