pub enum TranscriptItem {
UserMessage(UserMessage),
AssistantMessage(AssistantMessage),
ReasoningSummary(ReasoningSummary),
ToolCall(ToolCallRecord),
ToolResult(ToolResultRecord),
FileChange(FileChangeRecord),
ContextCompaction(ContextCompactionRecord),
Error(ErrorRecord),
ProviderMetadata(Value),
}Variants§
UserMessage(UserMessage)
AssistantMessage(AssistantMessage)
ReasoningSummary(ReasoningSummary)
ToolCall(ToolCallRecord)
ToolResult(ToolResultRecord)
FileChange(FileChangeRecord)
ContextCompaction(ContextCompactionRecord)
Error(ErrorRecord)
ProviderMetadata(Value)
Trait Implementations§
Source§impl Clone for TranscriptItem
impl Clone for TranscriptItem
Source§fn clone(&self) -> TranscriptItem
fn clone(&self) -> TranscriptItem
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 TranscriptItem
impl Debug for TranscriptItem
Source§impl<'de> Deserialize<'de> for TranscriptItem
impl<'de> Deserialize<'de> for TranscriptItem
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 TranscriptItem
impl PartialEq for TranscriptItem
Source§fn eq(&self, other: &TranscriptItem) -> bool
fn eq(&self, other: &TranscriptItem) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TranscriptItem
impl Serialize for TranscriptItem
impl StructuralPartialEq for TranscriptItem
Auto Trait Implementations§
impl Freeze for TranscriptItem
impl RefUnwindSafe for TranscriptItem
impl Send for TranscriptItem
impl Sync for TranscriptItem
impl Unpin for TranscriptItem
impl UnsafeUnpin for TranscriptItem
impl UnwindSafe for TranscriptItem
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