pub struct ExternalToolCall {
pub id: String,
pub name: String,
pub arguments: Value,
}Expand description
Model-issued call to a host-executed external tool, embedded in thread/toolExecutionRequested.
Fields§
§id: String§name: String§arguments: ValueTrait Implementations§
Source§impl Clone for ExternalToolCall
impl Clone for ExternalToolCall
Source§fn clone(&self) -> ExternalToolCall
fn clone(&self) -> ExternalToolCall
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 ExternalToolCall
impl Debug for ExternalToolCall
Source§impl<'de> Deserialize<'de> for ExternalToolCall
impl<'de> Deserialize<'de> for ExternalToolCall
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
Auto Trait Implementations§
impl Freeze for ExternalToolCall
impl RefUnwindSafe for ExternalToolCall
impl Send for ExternalToolCall
impl Sync for ExternalToolCall
impl Unpin for ExternalToolCall
impl UnsafeUnpin for ExternalToolCall
impl UnwindSafe for ExternalToolCall
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