pub enum AnalyticsJsonlRecord {
ToolCall {
schema_version: u32,
thread_id: String,
turn_id: String,
tool_id: String,
tool_name: Option<String>,
started_at: Option<String>,
completed_at: Option<String>,
duration_ms: Option<i64>,
status: String,
},
TokenUsage {
schema_version: u32,
thread_id: String,
turn_id: String,
provider: Option<String>,
model: Option<String>,
recorded_at: String,
prompt_tokens: u32,
completion_tokens: u32,
total_tokens: u32,
cached_prompt_tokens: u32,
},
Turn {
schema_version: u32,
thread_id: String,
turn_id: String,
provider: Option<String>,
model: Option<String>,
started_at: Option<String>,
completed_at: Option<String>,
status: String,
error_kind: Option<String>,
},
}Variants§
Trait Implementations§
Source§impl Clone for AnalyticsJsonlRecord
impl Clone for AnalyticsJsonlRecord
Source§fn clone(&self) -> AnalyticsJsonlRecord
fn clone(&self) -> AnalyticsJsonlRecord
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 AnalyticsJsonlRecord
impl Debug for AnalyticsJsonlRecord
Source§impl<'de> Deserialize<'de> for AnalyticsJsonlRecord
impl<'de> Deserialize<'de> for AnalyticsJsonlRecord
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 AnalyticsJsonlRecord
impl PartialEq for AnalyticsJsonlRecord
Source§fn eq(&self, other: &AnalyticsJsonlRecord) -> bool
fn eq(&self, other: &AnalyticsJsonlRecord) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AnalyticsJsonlRecord
impl Serialize for AnalyticsJsonlRecord
impl StructuralPartialEq for AnalyticsJsonlRecord
Auto Trait Implementations§
impl Freeze for AnalyticsJsonlRecord
impl RefUnwindSafe for AnalyticsJsonlRecord
impl Send for AnalyticsJsonlRecord
impl Sync for AnalyticsJsonlRecord
impl Unpin for AnalyticsJsonlRecord
impl UnsafeUnpin for AnalyticsJsonlRecord
impl UnwindSafe for AnalyticsJsonlRecord
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