pub enum TranscriptEntry {
Session {
id: String,
cwd: Option<String>,
timestamp: String,
},
Message {
id: String,
parent_id: Option<String>,
role: String,
content: Option<String>,
tool_calls: Option<Value>,
},
ToolCall {
id: String,
parent_id: Option<String>,
tool_call_id: String,
name: String,
arguments: String,
timestamp: String,
},
ToolResult {
id: String,
parent_id: Option<String>,
tool_call_id: String,
name: String,
result: String,
is_error: bool,
elapsed_ms: Option<u64>,
timestamp: String,
},
CustomMessage {
id: String,
parent_id: Option<String>,
data: Value,
},
Custom {
id: String,
parent_id: Option<String>,
kind: String,
data: Value,
},
Compaction {
id: String,
parent_id: Option<String>,
first_kept_entry_id: String,
tokens_before: u64,
summary: Option<String>,
},
BranchSummary {
id: String,
parent_id: Option<String>,
data: Value,
},
}Variants§
Session
Message
Fields
ToolCall
Tool call request - independent entry for complete traceability (aligned with OpenAI Agents SDK tracing)
Fields
ToolResult
Tool execution result - independent entry for complete traceability
Fields
CustomMessage
Custom
Compaction
Fields
BranchSummary
Implementations§
Trait Implementations§
Source§impl Clone for TranscriptEntry
impl Clone for TranscriptEntry
Source§fn clone(&self) -> TranscriptEntry
fn clone(&self) -> TranscriptEntry
Returns a duplicate of the value. Read more
1.0.0 · 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 TranscriptEntry
impl Debug for TranscriptEntry
Source§impl<'de> Deserialize<'de> for TranscriptEntry
impl<'de> Deserialize<'de> for TranscriptEntry
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
Auto Trait Implementations§
impl Freeze for TranscriptEntry
impl RefUnwindSafe for TranscriptEntry
impl Send for TranscriptEntry
impl Sync for TranscriptEntry
impl Unpin for TranscriptEntry
impl UnsafeUnpin for TranscriptEntry
impl UnwindSafe for TranscriptEntry
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