pub struct CustomToolCallOutputResource {
pub call_id: String,
pub output: CustomToolCallOutputOutput,
pub id: String,
pub status: FunctionCallOutputStatusEnum,
pub created_by: Option<String>,
}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 (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 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<CustomToolCallOutputResource, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CustomToolCallOutputResource, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<CustomToolCallOutputResource> for CustomToolCallOutput
impl From<CustomToolCallOutputResource> for CustomToolCallOutput
Source§fn from(r: CustomToolCallOutputResource) -> CustomToolCallOutput
fn from(r: CustomToolCallOutputResource) -> CustomToolCallOutput
Converts to this type from the input type.
Source§impl Serialize for CustomToolCallOutputResource
impl Serialize for CustomToolCallOutputResource
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 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