pub struct ResponseCompletedEvent {
    pub type: String,
    pub response: Response,
}Expand description
Emitted when the model response is complete.
Fields§
§type: StringThe type of the event.
response: ResponseProperties of the completed response.
Trait Implementations§
Source§impl Clone for ResponseCompletedEvent
 
impl Clone for ResponseCompletedEvent
Source§fn clone(&self) -> ResponseCompletedEvent
 
fn clone(&self) -> ResponseCompletedEvent
Returns a copy of the value. Read more
1.0.0 · 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 ResponseCompletedEvent
impl RefUnwindSafe for ResponseCompletedEvent
impl Send for ResponseCompletedEvent
impl Sync for ResponseCompletedEvent
impl Unpin for ResponseCompletedEvent
impl UnwindSafe for ResponseCompletedEvent
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