pub struct ToolCallRef {
pub tool_call_id: String,
pub title: String,
pub kind: ToolKind,
pub status: ToolCallStatus,
}Expand description
The tool call a permission request refers to.
Fields§
§tool_call_id: StringCorrelation id for this tool call.
title: StringHuman-readable summary.
kind: ToolKindWhat kind of operation it is.
status: ToolCallStatusIts current status.
Trait Implementations§
Source§impl Clone for ToolCallRef
impl Clone for ToolCallRef
Source§fn clone(&self) -> ToolCallRef
fn clone(&self) -> ToolCallRef
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 ToolCallRef
impl Debug for ToolCallRef
Source§impl<'de> Deserialize<'de> for ToolCallRef
impl<'de> Deserialize<'de> for ToolCallRef
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 ToolCallRef
impl PartialEq for ToolCallRef
Source§impl Serialize for ToolCallRef
impl Serialize for ToolCallRef
impl StructuralPartialEq for ToolCallRef
Auto Trait Implementations§
impl Freeze for ToolCallRef
impl RefUnwindSafe for ToolCallRef
impl Send for ToolCallRef
impl Sync for ToolCallRef
impl Unpin for ToolCallRef
impl UnsafeUnpin for ToolCallRef
impl UnwindSafe for ToolCallRef
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