pub struct ToolCallStart {
pub tool_call_id: String,
pub name: String,
pub input: Option<String>,
}Expand description
A tool call beginning — its id + name, so the UI can render a
state-ful card (running → done/✗) keyed by tool_call_id. input
carries the call’s arguments when the harness delivers them inline
at the start (bob’s parameters, codex’s command); it is None
when the harness streams them incrementally (Claude’s
input_json_delta), so the card stays correct either way.
Fields§
§tool_call_id: String§name: String§input: Option<String>Trait Implementations§
Source§impl Clone for ToolCallStart
impl Clone for ToolCallStart
Source§fn clone(&self) -> ToolCallStart
fn clone(&self) -> ToolCallStart
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 ToolCallStart
impl Debug for ToolCallStart
Source§impl PartialEq for ToolCallStart
impl PartialEq for ToolCallStart
Source§fn eq(&self, other: &ToolCallStart) -> bool
fn eq(&self, other: &ToolCallStart) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ToolCallStart
impl Serialize for ToolCallStart
impl Eq for ToolCallStart
impl StructuralPartialEq for ToolCallStart
Auto Trait Implementations§
impl Freeze for ToolCallStart
impl RefUnwindSafe for ToolCallStart
impl Send for ToolCallStart
impl Sync for ToolCallStart
impl Unpin for ToolCallStart
impl UnsafeUnpin for ToolCallStart
impl UnwindSafe for ToolCallStart
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