pub struct FunctionCallOutputItemParam {
pub call_id: String,
pub output: FunctionCallOutput,
pub id: Option<String>,
pub status: Option<OutputStatus>,
}Expand description
Output from a function call that you’re providing back to the model.
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: Option<String>The unique ID of the function tool call output. Populated when this item is returned via API.
status: Option<OutputStatus>The status of the item. One of in_progress, completed, or incomplete.
Populated when items are returned via API.
Trait Implementations§
Source§impl Clone for FunctionCallOutputItemParam
impl Clone for FunctionCallOutputItemParam
Source§fn clone(&self) -> FunctionCallOutputItemParam
fn clone(&self) -> FunctionCallOutputItemParam
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FunctionCallOutputItemParam
impl Debug for FunctionCallOutputItemParam
Source§impl<'de> Deserialize<'de> for FunctionCallOutputItemParam
impl<'de> Deserialize<'de> for FunctionCallOutputItemParam
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<FunctionCallOutputItemParam, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<FunctionCallOutputItemParam, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for FunctionCallOutputItemParam
impl Serialize for FunctionCallOutputItemParam
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for FunctionCallOutputItemParam
Auto Trait Implementations§
impl Freeze for FunctionCallOutputItemParam
impl RefUnwindSafe for FunctionCallOutputItemParam
impl Send for FunctionCallOutputItemParam
impl Sync for FunctionCallOutputItemParam
impl Unpin for FunctionCallOutputItemParam
impl UnsafeUnpin for FunctionCallOutputItemParam
impl UnwindSafe for FunctionCallOutputItemParam
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