pub struct ToolCall {
pub id: String,
pub name: String,
pub arguments: String,
}Fields§
§id: String§name: String§arguments: StringTrait Implementations§
Source§impl From<OpenAiToolCall> for ToolCall
impl From<OpenAiToolCall> for ToolCall
Source§fn from(value: OpenAiToolCall) -> Self
fn from(value: OpenAiToolCall) -> Self
Converts to this type from the input type.
impl Eq for ToolCall
impl StructuralPartialEq for ToolCall
Auto Trait Implementations§
impl Freeze for ToolCall
impl RefUnwindSafe for ToolCall
impl Send for ToolCall
impl Sync for ToolCall
impl Unpin for ToolCall
impl UnsafeUnpin for ToolCall
impl UnwindSafe for ToolCall
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