pub struct HistoryToolCall {
pub name: String,
pub hint: String,
}Expand description
A tool call within a message.
Fields§
§name: String§hint: StringShort description of what the tool was called with (for display)
Trait Implementations§
Source§impl Clone for HistoryToolCall
impl Clone for HistoryToolCall
Source§fn clone(&self) -> HistoryToolCall
fn clone(&self) -> HistoryToolCall
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 HistoryToolCall
impl Debug for HistoryToolCall
Source§impl<'de> Deserialize<'de> for HistoryToolCall
impl<'de> Deserialize<'de> for HistoryToolCall
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 HistoryToolCall
impl RefUnwindSafe for HistoryToolCall
impl Send for HistoryToolCall
impl Sync for HistoryToolCall
impl Unpin for HistoryToolCall
impl UnsafeUnpin for HistoryToolCall
impl UnwindSafe for HistoryToolCall
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