pub struct TraceScope {
pub conversation_id: String,
pub runtime_id: Option<String>,
pub run_id: Option<String>,
pub user_id: Option<String>,
pub agent_id: Option<String>,
pub agent_space_id: Option<String>,
pub runtime_type: Option<String>,
}Expand description
Identifies what a trace event belongs to.
run_id is what makes a trace useful: it groups every event emitted by one
turn, so a single execution can be reconstructed without guessing from
timestamps.
Fields§
§conversation_id: String§runtime_id: Option<String>Stable Runtime Identity used by control-plane consumers to browse traces. Older producers may omit it; conversation/run lookup remains compatible.
run_id: Option<String>§user_id: Option<String>§agent_id: Option<String>§agent_space_id: Option<String>§runtime_type: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for TraceScope
impl Clone for TraceScope
Source§fn clone(&self) -> TraceScope
fn clone(&self) -> TraceScope
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 TraceScope
impl Debug for TraceScope
Source§impl Default for TraceScope
impl Default for TraceScope
Source§fn default() -> TraceScope
fn default() -> TraceScope
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TraceScope
impl<'de> Deserialize<'de> for TraceScope
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 TraceScope
Source§impl PartialEq for TraceScope
impl PartialEq for TraceScope
Source§impl Serialize for TraceScope
impl Serialize for TraceScope
impl StructuralPartialEq for TraceScope
Auto Trait Implementations§
impl Freeze for TraceScope
impl RefUnwindSafe for TraceScope
impl Send for TraceScope
impl Sync for TraceScope
impl Unpin for TraceScope
impl UnsafeUnpin for TraceScope
impl UnwindSafe for TraceScope
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