pub struct InvalidToolCall {
pub id: String,
pub name: String,
pub args: String,
pub error: String,
}Expand description
Malformed tool call — LLM tried but failed schema validation
Fields§
§id: String§name: String§args: String§error: StringTrait 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 (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 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