pub struct PlainToolCall {
pub name: String,
pub arguments: String,
}Expand description
Tool-call rendering helper for PlainMessage.
Fields§
§name: String§arguments: StringImplementations§
Trait Implementations§
Source§impl Clone for PlainToolCall
impl Clone for PlainToolCall
Source§fn clone(&self) -> PlainToolCall
fn clone(&self) -> PlainToolCall
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 PlainToolCall
impl Debug for PlainToolCall
impl Eq for PlainToolCall
Source§impl PartialEq for PlainToolCall
impl PartialEq for PlainToolCall
impl StructuralPartialEq for PlainToolCall
Auto Trait Implementations§
impl Freeze for PlainToolCall
impl RefUnwindSafe for PlainToolCall
impl Send for PlainToolCall
impl Sync for PlainToolCall
impl Unpin for PlainToolCall
impl UnsafeUnpin for PlainToolCall
impl UnwindSafe for PlainToolCall
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