pub struct RuntimeEventRecord {
pub id: String,
pub scope: TraceScope,
pub event_type: String,
pub payload: Value,
pub sequence: i64,
pub created_at_ms: i64,
pub metadata: Value,
}Expand description
One runtime trace event.
Fields§
§id: StringCaller supplied id. Enables idempotent append, so a retry after a lost response cannot duplicate a turn’s trace.
scope: TraceScope§event_type: StringCoarse kind, e.g. turn_started, tool_call, guard_rail, turn_finished.
payload: Value§sequence: i64Monotonic order within a run. Ties break by created_at_ms.
created_at_ms: i64§metadata: ValueTrait Implementations§
Source§impl Clone for RuntimeEventRecord
impl Clone for RuntimeEventRecord
Source§fn clone(&self) -> RuntimeEventRecord
fn clone(&self) -> RuntimeEventRecord
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 RuntimeEventRecord
impl Debug for RuntimeEventRecord
Source§impl<'de> Deserialize<'de> for RuntimeEventRecord
impl<'de> Deserialize<'de> for RuntimeEventRecord
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 RuntimeEventRecord
impl PartialEq for RuntimeEventRecord
Source§impl Serialize for RuntimeEventRecord
impl Serialize for RuntimeEventRecord
impl StructuralPartialEq for RuntimeEventRecord
Auto Trait Implementations§
impl Freeze for RuntimeEventRecord
impl RefUnwindSafe for RuntimeEventRecord
impl Send for RuntimeEventRecord
impl Sync for RuntimeEventRecord
impl Unpin for RuntimeEventRecord
impl UnsafeUnpin for RuntimeEventRecord
impl UnwindSafe for RuntimeEventRecord
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