pub struct UnifiedResponse {
pub content: String,
pub tool_calls: Vec<ToolCall>,
pub usage: Option<Value>,
}Expand description
Unified response format.
Fields§
§content: String§tool_calls: Vec<ToolCall>§usage: Option<Value>Trait Implementations§
Source§impl Debug for UnifiedResponse
impl Debug for UnifiedResponse
Source§impl Default for UnifiedResponse
impl Default for UnifiedResponse
Source§fn default() -> UnifiedResponse
fn default() -> UnifiedResponse
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for UnifiedResponse
impl RefUnwindSafe for UnifiedResponse
impl Send for UnifiedResponse
impl Sync for UnifiedResponse
impl Unpin for UnifiedResponse
impl UnwindSafe for UnifiedResponse
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