pub struct AssistantResponse {
pub content: String,
pub tool_calls: Vec<ToolCall>,
pub usage: Usage,
}Fields§
§content: String§tool_calls: Vec<ToolCall>§usage: UsageTrait Implementations§
Source§impl Clone for AssistantResponse
impl Clone for AssistantResponse
Source§fn clone(&self) -> AssistantResponse
fn clone(&self) -> AssistantResponse
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 AssistantResponse
impl RefUnwindSafe for AssistantResponse
impl Send for AssistantResponse
impl Sync for AssistantResponse
impl Unpin for AssistantResponse
impl UnsafeUnpin for AssistantResponse
impl UnwindSafe for AssistantResponse
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