pub struct ToolCallProgressState {Show 14 fields
pub schema: String,
pub node_id: String,
pub call_id: String,
pub tool_name: String,
pub status: ProgressStatus,
pub progress: Option<f64>,
pub loaded: Option<u64>,
pub total: Option<u64>,
pub message: Option<String>,
pub parent_node_id: Option<String>,
pub parent_call_id: Option<String>,
pub run_id: Option<String>,
pub parent_run_id: Option<String>,
pub thread_id: Option<String>,
}Expand description
Canonical progress state for a tool call execution.
Fields§
§schema: StringSchema identifier.
node_id: StringUnique node ID for this progress entry (typically tool_call_id).
call_id: StringTool call ID.
tool_name: StringTool name.
status: ProgressStatusCurrent status.
progress: Option<f64>Normalized progress (0.0 - 1.0). None if indeterminate.
loaded: Option<u64>Absolute progress loaded count.
total: Option<u64>Absolute progress total count.
message: Option<String>Human-readable status message.
parent_node_id: Option<String>Parent node ID (for nested tool calls).
parent_call_id: Option<String>Parent tool call ID.
run_id: Option<String>Run ID of the owning agent run.
parent_run_id: Option<String>Parent run ID (set when this run was spawned by another run).
thread_id: Option<String>Thread ID of the owning thread.
Trait Implementations§
Source§impl Clone for ToolCallProgressState
impl Clone for ToolCallProgressState
Source§fn clone(&self) -> ToolCallProgressState
fn clone(&self) -> ToolCallProgressState
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 ToolCallProgressState
impl Debug for ToolCallProgressState
Source§impl<'de> Deserialize<'de> for ToolCallProgressState
impl<'de> Deserialize<'de> for ToolCallProgressState
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ToolCallProgressState, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ToolCallProgressState, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for ToolCallProgressState
impl Serialize for ToolCallProgressState
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for ToolCallProgressState
impl RefUnwindSafe for ToolCallProgressState
impl Send for ToolCallProgressState
impl Sync for ToolCallProgressState
impl Unpin for ToolCallProgressState
impl UnsafeUnpin for ToolCallProgressState
impl UnwindSafe for ToolCallProgressState
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