pub struct Response_Variant3 {
pub id: String,
pub object: String,
pub status: Option<String>,
pub created_at: f64,
pub error: Option<ResponseError>,
pub incomplete_details: Option<Response_Variant3_IncompleteDetails>,
pub output: Vec<OutputItem>,
pub output_text: Option<String>,
pub usage: Option<ResponseUsage>,
pub parallel_tool_calls: bool,
}
Fields§
§id: String
Unique identifier for this Response.
object: String
The object type of this resource - always set to response
.
status: Option<String>
The status of the response generation.
created_at: f64
Unix timestamp (in seconds) of when this Response was created.
error: Option<ResponseError>
§incomplete_details: Option<Response_Variant3_IncompleteDetails>
§output: Vec<OutputItem>
An array of content items generated by the model.
output_text: Option<String>
SDK-only convenience property that contains the aggregated text output
from all output_text
items in the output
array, if any are present.
usage: Option<ResponseUsage>
§parallel_tool_calls: bool
Whether to allow the model to run tool calls in parallel.
Trait Implementations§
Source§impl Clone for Response_Variant3
impl Clone for Response_Variant3
Source§fn clone(&self) -> Response_Variant3
fn clone(&self) -> Response_Variant3
Returns a duplicate 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 moreSource§impl Debug for Response_Variant3
impl Debug for Response_Variant3
Source§impl Default for Response_Variant3
impl Default for Response_Variant3
Source§fn default() -> Response_Variant3
fn default() -> Response_Variant3
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for Response_Variant3
impl RefUnwindSafe for Response_Variant3
impl Send for Response_Variant3
impl Sync for Response_Variant3
impl Unpin for Response_Variant3
impl UnwindSafe for Response_Variant3
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