pub struct ChatReturnFacts {
pub parallel_tool_calls: bool,
pub tool_choice: ToolChoice,
pub prompt_cache_options: Option<ResponsePromptCacheOptions>,
pub usage: ChatUsageSupplement,
}Expand description
Effective settings and measured facts absent from the upstream wire response.
Fields§
§parallel_tool_calls: bool§tool_choice: ToolChoice§prompt_cache_options: Option<ResponsePromptCacheOptions>§usage: ChatUsageSupplementTrait Implementations§
Auto Trait Implementations§
impl Freeze for ChatReturnFacts
impl RefUnwindSafe for ChatReturnFacts
impl Send for ChatReturnFacts
impl Sync for ChatReturnFacts
impl Unpin for ChatReturnFacts
impl UnsafeUnpin for ChatReturnFacts
impl UnwindSafe for ChatReturnFacts
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