pub struct ServiceCallObserver(/* private fields */);Expand description
Observes each model call of a function-invocation loop: the request it
was sent and the response it returned. Framework-internal; carried in
ChatOptions::service_call_observer.
Trait Implementations§
Source§impl Clone for ServiceCallObserver
impl Clone for ServiceCallObserver
Source§fn clone(&self) -> ServiceCallObserver
fn clone(&self) -> ServiceCallObserver
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 !RefUnwindSafe for ServiceCallObserver
impl !UnwindSafe for ServiceCallObserver
impl Freeze for ServiceCallObserver
impl Send for ServiceCallObserver
impl Sync for ServiceCallObserver
impl Unpin for ServiceCallObserver
impl UnsafeUnpin for ServiceCallObserver
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