pub enum TranscriptEntry {
ModelTurn {
role: Role,
content: String,
model: String,
},
ToolCall {
call_id: String,
tool: String,
args_json: String,
},
ToolResult {
call_id: String,
ok: bool,
content: String,
},
Decision {
summary: String,
rationale: String,
},
}Expand description
One entry in a session’s reconstructed transcript, in application order.
Variants§
ModelTurn
A conversational turn.
Fields
ToolCall
A tool invocation.
Fields
ToolResult
The result of a tool invocation.
Fields
Decision
A recorded decision.
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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto 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