pub struct ToolCallInfoData {
pub tool_call_id: String,
pub name: String,
pub arguments: String,
pub status: String,
pub output: Option<String>,
pub requires_confirm: bool,
}Expand description
Tool call info for storage in message.
Fields§
§tool_call_id: String§name: String§arguments: String§status: String§output: Option<String>§requires_confirm: boolTrait Implementations§
Source§impl Clone for ToolCallInfoData
impl Clone for ToolCallInfoData
Source§fn clone(&self) -> ToolCallInfoData
fn clone(&self) -> ToolCallInfoData
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 ToolCallInfoData
impl Debug for ToolCallInfoData
Source§impl<'de> Deserialize<'de> for ToolCallInfoData
impl<'de> Deserialize<'de> for ToolCallInfoData
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 ToolCallInfoData
impl RefUnwindSafe for ToolCallInfoData
impl Send for ToolCallInfoData
impl Sync for ToolCallInfoData
impl Unpin for ToolCallInfoData
impl UnsafeUnpin for ToolCallInfoData
impl UnwindSafe for ToolCallInfoData
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