pub struct ResponseFunctionToolCall {
pub id: String,
pub kind: String,
pub call_id: String,
pub name: String,
pub namespace: Option<String>,
pub arguments: String,
pub status: String,
}Expand description
A function tool call emitted on the Responses surface (type:"function_call").
It mirrors the Chat Completions tool_calls shape so an agentic CLI can execute
it and feed the result back as a function_call_output item.
Fields§
§id: String§kind: String§call_id: String§name: String§namespace: Option<String>§arguments: String§status: StringTrait Implementations§
Source§impl Clone for ResponseFunctionToolCall
impl Clone for ResponseFunctionToolCall
Source§fn clone(&self) -> ResponseFunctionToolCall
fn clone(&self) -> ResponseFunctionToolCall
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 ResponseFunctionToolCall
impl Debug for ResponseFunctionToolCall
Source§impl<'de> Deserialize<'de> for ResponseFunctionToolCall
impl<'de> Deserialize<'de> for ResponseFunctionToolCall
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 Eq for ResponseFunctionToolCall
Source§impl PartialEq for ResponseFunctionToolCall
impl PartialEq for ResponseFunctionToolCall
Source§impl Serialize for ResponseFunctionToolCall
impl Serialize for ResponseFunctionToolCall
impl StructuralPartialEq for ResponseFunctionToolCall
Auto Trait Implementations§
impl Freeze for ResponseFunctionToolCall
impl RefUnwindSafe for ResponseFunctionToolCall
impl Send for ResponseFunctionToolCall
impl Sync for ResponseFunctionToolCall
impl Unpin for ResponseFunctionToolCall
impl UnsafeUnpin for ResponseFunctionToolCall
impl UnwindSafe for ResponseFunctionToolCall
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.