pub struct FunctionToolCallOutputResource {
pub call_id: String,
pub output: FunctionCallOutput,
pub id: String,
pub status: FunctionCallOutputStatusEnum,
pub created_by: Option<String>,
}Available on crate feature
response-types only.Expand description
A function tool call output item returned by the API.
Fields§
§call_id: StringThe unique ID of the function tool call generated by the model.
output: FunctionCallOutputText, image, or file output of the function tool call.
id: StringThe unique ID of the function tool call output.
status: FunctionCallOutputStatusEnumThe status of the item. One of in_progress, completed, or incomplete.
created_by: Option<String>The identifier of the actor that created the item.
Trait Implementations§
Source§impl Clone for FunctionToolCallOutputResource
impl Clone for FunctionToolCallOutputResource
Source§fn clone(&self) -> FunctionToolCallOutputResource
fn clone(&self) -> FunctionToolCallOutputResource
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<'de> Deserialize<'de> for FunctionToolCallOutputResource
impl<'de> Deserialize<'de> for FunctionToolCallOutputResource
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for FunctionToolCallOutputResource
impl PartialEq for FunctionToolCallOutputResource
Source§fn eq(&self, other: &FunctionToolCallOutputResource) -> bool
fn eq(&self, other: &FunctionToolCallOutputResource) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FunctionToolCallOutputResource
Auto Trait Implementations§
impl Freeze for FunctionToolCallOutputResource
impl RefUnwindSafe for FunctionToolCallOutputResource
impl Send for FunctionToolCallOutputResource
impl Sync for FunctionToolCallOutputResource
impl Unpin for FunctionToolCallOutputResource
impl UnsafeUnpin for FunctionToolCallOutputResource
impl UnwindSafe for FunctionToolCallOutputResource
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