TraceEvent
Defined in the specialized module.Rust AI Agent SDK Trace event
Fields
| Name | Type | Description |
|---|---|---|
event_type | String | Event type |
timestamp | std::time::SystemTime | Event timestamp |
data | HashMap<String | Event data |
serde_json | :Value> | Event data |
trace_id | Option<String> | Trace ID |
span_id | Option<String> | Span ID |
parent_span_id | Option<String> | Parent span ID |
Methods
new
| Name | Type |
|---|---|
event_type | impl Into<String> |
trace_id
| Name | Type |
|---|---|
id | impl Into<String> |
span_id
| Name | Type |
|---|---|
id | impl Into<String> |
data
| Name | Type |
|---|---|
key | impl Into<String> |
value | serde_json::Value |
Source
View on GitHub
praisonai/src/parity/specialized.rs at line 514
