pub struct DurableTranscriptEntry {
pub entry_id: String,
pub turn_id: Option<String>,
pub timestamp: DateTime<Utc>,
pub role: String,
pub content: String,
pub reasoning: Option<AssistantReasoning>,
pub tool_call_id: Option<String>,
pub tool_name: Option<String>,
pub tool_result: Option<String>,
pub is_error: bool,
pub parent_id: Option<String>,
}Expand description
One normalized, cursor-addressable durable transcript entry.
Fields§
§entry_id: StringStable entry identity.
turn_id: Option<String>Durable turn identity.
timestamp: DateTime<Utc>Entry timestamp.
role: StringTranscript role.
content: StringRedacted model-visible content.
reasoning: Option<AssistantReasoning>Optional displayable reasoning when the policy allowed it.
tool_call_id: Option<String>Tool call ID for a tool call or result.
tool_name: Option<String>Tool name for assistant tool calls.
tool_result: Option<String>Tool result text when this entry is a result.
is_error: boolWhether the tool result represents an error.
parent_id: Option<String>Parent entry relationship.
Trait Implementations§
Source§impl Clone for DurableTranscriptEntry
impl Clone for DurableTranscriptEntry
Source§fn clone(&self) -> DurableTranscriptEntry
fn clone(&self) -> DurableTranscriptEntry
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 DurableTranscriptEntry
impl Debug for DurableTranscriptEntry
Source§impl<'de> Deserialize<'de> for DurableTranscriptEntry
impl<'de> Deserialize<'de> for DurableTranscriptEntry
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 DurableTranscriptEntry
impl RefUnwindSafe for DurableTranscriptEntry
impl Send for DurableTranscriptEntry
impl Sync for DurableTranscriptEntry
impl Unpin for DurableTranscriptEntry
impl UnsafeUnpin for DurableTranscriptEntry
impl UnwindSafe for DurableTranscriptEntry
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