pub struct FunctionCallOutputItemParam {
pub id: Option<String>,
pub call_id: String,
pub output: String,
pub status: Option<FunctionCallOutputItemParamStatus>,
}
Expand description
The output of a function tool call.
Fields§
§id: Option<String>
The unique ID of the function tool call output. Populated when this item is returned via API.
call_id: String
The unique ID of the function tool call generated by the model.
output: String
A JSON string of the output of the function tool call.
status: Option<FunctionCallOutputItemParamStatus>
The status of the item. One of in_progress
, completed
, or incomplete
. Populated when items are returned via API.
Implementations§
Source§impl FunctionCallOutputItemParam
impl FunctionCallOutputItemParam
Sourcepub fn builder() -> FunctionCallOutputItemParamBuilder<((), (), (), ())>
pub fn builder() -> FunctionCallOutputItemParamBuilder<((), (), (), ())>
Create a builder for building FunctionCallOutputItemParam
.
On the builder, call .id(...)
(optional), .call_id(...)
, .output(...)
, .status(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of FunctionCallOutputItemParam
.
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 · 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<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
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 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