pub struct ToolCaller {
pub caller_type: String,
pub extra: Map<String, Value>,
}Expand description
Provenance of a ToolUseBlock — identifies who issued the tool call.
Fields§
§caller_type: StringCaller kind (e.g. direct for the top-level agent).
extra: Map<String, Value>Any additional caller provenance the CLI attaches, preserved verbatim.
Trait Implementations§
Source§impl Clone for ToolCaller
impl Clone for ToolCaller
Source§fn clone(&self) -> ToolCaller
fn clone(&self) -> ToolCaller
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 ToolCaller
impl Debug for ToolCaller
Source§impl<'de> Deserialize<'de> for ToolCaller
impl<'de> Deserialize<'de> for ToolCaller
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 ToolCaller
impl RefUnwindSafe for ToolCaller
impl Send for ToolCaller
impl Sync for ToolCaller
impl Unpin for ToolCaller
impl UnsafeUnpin for ToolCaller
impl UnwindSafe for ToolCaller
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