pub struct ConversationResponse {
pub model: String,
pub content: Option<String>,
pub tool_calls: Vec<ToolCall>,
pub usage: Option<TokenUsage>,
}Fields§
§model: String§content: Option<String>§tool_calls: Vec<ToolCall>§usage: Option<TokenUsage>Trait Implementations§
Source§impl Clone for ConversationResponse
impl Clone for ConversationResponse
Auto Trait Implementations§
impl Freeze for ConversationResponse
impl RefUnwindSafe for ConversationResponse
impl Send for ConversationResponse
impl Sync for ConversationResponse
impl Unpin for ConversationResponse
impl UnsafeUnpin for ConversationResponse
impl UnwindSafe for ConversationResponse
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