pub struct PreLLMCall {
pub request: CompletionRequest,
}Expand description
Fired before an LLM completion request is sent.
Fields§
§request: CompletionRequestCompletion request that will be sent to the provider.
Trait Implementations§
Source§impl Clone for PreLLMCall
impl Clone for PreLLMCall
Source§fn clone(&self) -> PreLLMCall
fn clone(&self) -> PreLLMCall
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 PreLLMCall
impl Debug for PreLLMCall
Source§impl Event for PreLLMCall
impl Event for PreLLMCall
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 PreLLMCall
impl RefUnwindSafe for PreLLMCall
impl Send for PreLLMCall
impl Sync for PreLLMCall
impl Unpin for PreLLMCall
impl UnsafeUnpin for PreLLMCall
impl UnwindSafe for PreLLMCall
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