pub struct BrowserTranscriptEntry {
pub id: u64,
pub updated_seq: u64,
pub role: &'static str,
pub label: String,
pub recorded_at_ms: Option<i64>,
pub lines: Vec<String>,
pub glyph: &'static str,
pub tone: &'static str,
pub tool_status: Option<&'static str>,
pub diffstats: Vec<BrowserDiffStat>,
}Fields§
§id: u64§updated_seq: u64§role: &'static str§label: String§recorded_at_ms: Option<i64>§lines: Vec<String>§glyph: &'static strThe glyph the terminal draws for this role, so both surfaces read alike
without the browser keeping a second copy of the mapping. Taken from
the same entry_visual the terminal renders from.
tone: &'static strThe semantic colour name, not a colour. The stylesheet decides what
agent or failed looks like; this says which one applies.
tool_status: Option<&'static str>A tool call’s state, for a tool entry. None for every other role.
diffstats: Vec<BrowserDiffStat>The changed files a tool reported, as data rather than as extra lines
appended to lines. The terminal formats these for a terminal; a
browser re-parsing that formatting is how the phone came to render
every diffstat as one unsplit path.
Trait Implementations§
Source§impl Clone for BrowserTranscriptEntry
impl Clone for BrowserTranscriptEntry
Source§fn clone(&self) -> BrowserTranscriptEntry
fn clone(&self) -> BrowserTranscriptEntry
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 BrowserTranscriptEntry
impl Debug for BrowserTranscriptEntry
impl Eq for BrowserTranscriptEntry
Source§impl PartialEq for BrowserTranscriptEntry
impl PartialEq for BrowserTranscriptEntry
Source§impl Serialize for BrowserTranscriptEntry
impl Serialize for BrowserTranscriptEntry
impl StructuralPartialEq for BrowserTranscriptEntry
Auto Trait Implementations§
impl Freeze for BrowserTranscriptEntry
impl RefUnwindSafe for BrowserTranscriptEntry
impl Send for BrowserTranscriptEntry
impl Sync for BrowserTranscriptEntry
impl Unpin for BrowserTranscriptEntry
impl UnsafeUnpin for BrowserTranscriptEntry
impl UnwindSafe for BrowserTranscriptEntry
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoMaybeUndefined<T> for T
impl<T> IntoMaybeUndefined<T> for T
Source§fn into_maybe_undefined(self) -> MaybeUndefined<T>
fn into_maybe_undefined(self) -> MaybeUndefined<T>
Converts this value into a three-state builder argument.
Source§impl<T> IntoOption<T> for T
impl<T> IntoOption<T> for T
Source§fn into_option(self) -> Option<T>
fn into_option(self) -> Option<T>
Converts this value into an optional builder argument.