pub struct CustomToolCallOutputResource {
pub call_id: String,
pub output: CustomToolCallOutputOutput,
pub id: String,
pub status: FunctionCallOutputStatusEnum,
pub created_by: Option<String>,
}Available on crate feature
response-types only.Expand description
A custom tool call output item returned by the API.
Fields§
§call_id: StringThe call ID, used to map this custom tool call output to a custom tool call.
output: CustomToolCallOutputOutputThe output from the custom tool call generated by your code. Can be a string or a list of output content.
id: StringThe unique ID of the custom tool call output item.
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 CustomToolCallOutputResource
impl Clone for CustomToolCallOutputResource
Source§fn clone(&self) -> CustomToolCallOutputResource
fn clone(&self) -> CustomToolCallOutputResource
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 CustomToolCallOutputResource
impl Debug for CustomToolCallOutputResource
Source§impl<'de> Deserialize<'de> for CustomToolCallOutputResource
impl<'de> Deserialize<'de> for CustomToolCallOutputResource
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 CustomToolCallOutputResource
impl PartialEq for CustomToolCallOutputResource
Source§fn eq(&self, other: &CustomToolCallOutputResource) -> bool
fn eq(&self, other: &CustomToolCallOutputResource) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CustomToolCallOutputResource
Auto Trait Implementations§
impl Freeze for CustomToolCallOutputResource
impl RefUnwindSafe for CustomToolCallOutputResource
impl Send for CustomToolCallOutputResource
impl Sync for CustomToolCallOutputResource
impl Unpin for CustomToolCallOutputResource
impl UnsafeUnpin for CustomToolCallOutputResource
impl UnwindSafe for CustomToolCallOutputResource
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