pub enum TranscriptEvent {
AssistantMessage {
ordinal: u32,
text: String,
},
ToolInvocation {
ordinal: u32,
name: String,
args: Option<Value>,
result: Option<Value>,
},
}Expand description
One ordered, user-visible or tool event parsed from a harness transcript.
Variants§
Trait Implementations§
Source§impl Clone for TranscriptEvent
impl Clone for TranscriptEvent
Source§fn clone(&self) -> TranscriptEvent
fn clone(&self) -> TranscriptEvent
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 TranscriptEvent
impl Debug for TranscriptEvent
Source§impl<'de> Deserialize<'de> for TranscriptEvent
impl<'de> Deserialize<'de> for TranscriptEvent
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 TranscriptEvent
impl PartialEq for TranscriptEvent
Source§impl Serialize for TranscriptEvent
impl Serialize for TranscriptEvent
impl StructuralPartialEq for TranscriptEvent
Auto Trait Implementations§
impl Freeze for TranscriptEvent
impl RefUnwindSafe for TranscriptEvent
impl Send for TranscriptEvent
impl Sync for TranscriptEvent
impl Unpin for TranscriptEvent
impl UnsafeUnpin for TranscriptEvent
impl UnwindSafe for TranscriptEvent
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