pub struct ToolCallProgressState {Show 16 fields
pub event_type: String,
pub schema: String,
pub node_id: String,
pub parent_node_id: Option<String>,
pub parent_call_id: Option<String>,
pub call_id: String,
pub tool_name: Option<String>,
pub status: ToolCallProgressStatus,
pub progress: Option<f64>,
pub loaded: Option<f64>,
pub total: Option<f64>,
pub message: Option<String>,
pub run_id: Option<String>,
pub parent_run_id: Option<String>,
pub thread_id: Option<String>,
pub updated_at_ms: u64,
}Expand description
Canonical tree-node payload for tool-call progress updates.
Fields§
§event_type: StringPayload type identifier.
schema: StringPayload schema version.
node_id: StringStable node id.
parent_node_id: Option<String>Optional parent node id in the progress tree.
parent_call_id: Option<String>Optional parent tool call id when this node belongs to a nested run.
call_id: StringTool call id that owns this node.
tool_name: Option<String>Optional tool name.
status: ToolCallProgressStatusCurrent status.
progress: Option<f64>Normalized progress ratio when available.
loaded: Option<f64>Optional absolute loaded counter.
total: Option<f64>Optional absolute total counter.
message: Option<String>Optional human-readable message.
run_id: Option<String>Current run id.
parent_run_id: Option<String>Parent run id.
thread_id: Option<String>Current thread id when available.
updated_at_ms: u64Last update timestamp in unix milliseconds.
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 · 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 Default for ToolCallProgressState
impl Default for ToolCallProgressState
Source§fn default() -> ToolCallProgressState
fn default() -> ToolCallProgressState
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ToolCallProgressState
impl<'de> Deserialize<'de> for ToolCallProgressState
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 Serialize for ToolCallProgressState
impl Serialize for ToolCallProgressState
Source§impl State for ToolCallProgressState
impl State for ToolCallProgressState
Source§type Ref<'a> = ToolCallProgressStateRef<'a>
type Ref<'a> = ToolCallProgressStateRef<'a>
The reference type that provides typed access.
Source§fn state_ref<'a>(
doc: &'a DocCell,
base: Path,
sink: PatchSink<'a>,
) -> Self::Ref<'a>
fn state_ref<'a>( doc: &'a DocCell, base: Path, sink: PatchSink<'a>, ) -> Self::Ref<'a>
Create a state reference at the specified path. Read more
Source§fn from_value(value: &Value) -> TireaResult<Self>
fn from_value(value: &Value) -> TireaResult<Self>
Deserialize this type from a JSON value.
Source§fn to_value(&self) -> TireaResult<Value>
fn to_value(&self) -> TireaResult<Value>
Serialize this type to a JSON value.
Source§fn diff_ops(old: &Self, new: &Self, base_path: &Path) -> TireaResult<Vec<Op>>
fn diff_ops(old: &Self, new: &Self, base_path: &Path) -> TireaResult<Vec<Op>>
Compare two instances and emit minimal ops for changed fields. Read more
Source§fn register_lattice(_registry: &mut LatticeRegistry)
fn register_lattice(_registry: &mut LatticeRegistry)
Register lattice fields into the given registry. Read more
Source§fn lattice_keys() -> &'static [&'static str]
fn lattice_keys() -> &'static [&'static str]
Return the JSON keys of fields annotated with
#[tirea(lattice)]. Read moreAuto 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