pub struct TranscriptEntry {
pub role: TranscriptRole,
pub content: String,
pub tool_name: Option<String>,
}Expand description
One formattable entry in a bounded transcript slice.
Produced by MessageAccess::transcript_page — already bounded before this type exists, per
INV-SP-6 (never materialize-then-trim).
Fields§
§role: TranscriptRoleSpeaker role.
content: StringDisplay text for this entry (already extracted from structured message parts).
tool_name: Option<String>Tool name, set only when role == Tool.
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