pub struct InvalidToolCall {
pub name: Option<String>,
pub arguments: Option<String>,
pub id: Option<String>,
pub error: String,
}Expand description
A tool call that failed to produce valid arguments.
Fields§
§name: Option<String>Tool name, if available.
arguments: Option<String>Raw unparsed arguments string.
id: Option<String>Tool call identifier, if available.
error: StringError description.
Trait Implementations§
Source§impl Clone for InvalidToolCall
impl Clone for InvalidToolCall
Source§fn clone(&self) -> InvalidToolCall
fn clone(&self) -> InvalidToolCall
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 InvalidToolCall
impl Debug for InvalidToolCall
Source§impl<'de> Deserialize<'de> for InvalidToolCall
impl<'de> Deserialize<'de> for InvalidToolCall
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 InvalidToolCall
impl RefUnwindSafe for InvalidToolCall
impl Send for InvalidToolCall
impl Sync for InvalidToolCall
impl Unpin for InvalidToolCall
impl UnsafeUnpin for InvalidToolCall
impl UnwindSafe for InvalidToolCall
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