pub struct AgenticToolEvent {
pub tool_call_id: String,
pub tool_class: String,
pub started_at_unix_ms: u64,
pub ended_at_unix_ms: u64,
pub duration_ms: f64,
pub status: String,
pub output_bytes: Option<u64>,
pub output_tokens: Option<u64>,
pub error_type: Option<String>,
}Expand description
Harness tool span attributed to the LLM request that consumed it. Mirrors
tool_end / tool_error fields from dynamo.agent.trace.v1.
Fields§
§tool_call_id: String§tool_class: String§started_at_unix_ms: u64§ended_at_unix_ms: u64§duration_ms: f64§status: String§output_bytes: Option<u64>§output_tokens: Option<u64>§error_type: Option<String>Trait Implementations§
Source§impl Clone for AgenticToolEvent
impl Clone for AgenticToolEvent
Source§fn clone(&self) -> AgenticToolEvent
fn clone(&self) -> AgenticToolEvent
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 AgenticToolEvent
impl Debug for AgenticToolEvent
Source§impl<'de> Deserialize<'de> for AgenticToolEvent
impl<'de> Deserialize<'de> for AgenticToolEvent
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 AgenticToolEvent
impl PartialEq for AgenticToolEvent
Source§fn eq(&self, other: &AgenticToolEvent) -> bool
fn eq(&self, other: &AgenticToolEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AgenticToolEvent
impl Serialize for AgenticToolEvent
impl StructuralPartialEq for AgenticToolEvent
Auto Trait Implementations§
impl Freeze for AgenticToolEvent
impl RefUnwindSafe for AgenticToolEvent
impl Send for AgenticToolEvent
impl Sync for AgenticToolEvent
impl Unpin for AgenticToolEvent
impl UnsafeUnpin for AgenticToolEvent
impl UnwindSafe for AgenticToolEvent
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