pub struct InvalidToolCall {
pub id: Option<String>,
pub name: Option<String>,
pub arguments: Option<String>,
pub error: String,
}Expand description
A tool call that failed to parse correctly.
Fields§
§id: Option<String>§name: Option<String>§arguments: Option<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 · 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
Source§impl PartialEq for InvalidToolCall
impl PartialEq for InvalidToolCall
Source§impl Serialize for InvalidToolCall
impl Serialize for InvalidToolCall
impl Eq for InvalidToolCall
impl StructuralPartialEq for InvalidToolCall
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