pub struct PostLLMCall {
pub response: CompletionResponse,
pub error: Option<String>,
}Expand description
Fired after an LLM completion response is received.
Fields§
§response: CompletionResponseCompletion response returned by the provider.
error: Option<String>Error text, when the provider call failed.
Trait Implementations§
Source§impl Clone for PostLLMCall
impl Clone for PostLLMCall
Source§fn clone(&self) -> PostLLMCall
fn clone(&self) -> PostLLMCall
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 PostLLMCall
impl Debug for PostLLMCall
Source§impl Event for PostLLMCall
impl Event for PostLLMCall
Source§fn event_type(&self) -> EventType
fn event_type(&self) -> EventType
Return the event type discriminator for this event.
Auto Trait Implementations§
impl Freeze for PostLLMCall
impl RefUnwindSafe for PostLLMCall
impl Send for PostLLMCall
impl Sync for PostLLMCall
impl Unpin for PostLLMCall
impl UnsafeUnpin for PostLLMCall
impl UnwindSafe for PostLLMCall
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