pub struct AgentCallLatency {
pub call_id: CallId,
pub kind: String,
pub name: String,
pub elapsed_ms: u64,
}Expand description
Latency for a completed model or tool call within an agent run.
These records are derived from durable AgentObservation timestamps by
correlating *.started and *.completed events. They intentionally carry
ids and short names only, never prompt text, tool arguments, or provider
payloads.
Fields§
§call_id: CallIdThe model/tool call id being measured.
kind: StringStable call family, currently "model" or "tool".
name: StringModel id or tool name associated with the call.
elapsed_ms: u64Wall-clock elapsed time between start and completion, in milliseconds.
Trait Implementations§
Source§impl Clone for AgentCallLatency
impl Clone for AgentCallLatency
Source§fn clone(&self) -> AgentCallLatency
fn clone(&self) -> AgentCallLatency
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 AgentCallLatency
impl Debug for AgentCallLatency
Source§impl<'de> Deserialize<'de> for AgentCallLatency
impl<'de> Deserialize<'de> for AgentCallLatency
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
impl Eq for AgentCallLatency
Source§impl PartialEq for AgentCallLatency
impl PartialEq for AgentCallLatency
Source§impl Serialize for AgentCallLatency
impl Serialize for AgentCallLatency
impl StructuralPartialEq for AgentCallLatency
Auto Trait Implementations§
impl Freeze for AgentCallLatency
impl RefUnwindSafe for AgentCallLatency
impl Send for AgentCallLatency
impl Sync for AgentCallLatency
impl Unpin for AgentCallLatency
impl UnsafeUnpin for AgentCallLatency
impl UnwindSafe for AgentCallLatency
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