pub struct ChatProjection {
pub strategy: ProjectionStrategy,
pub confidence: ProjectionConfidence,
pub strategy_reason: String,
pub lines: Vec<ChatLine>,
pub plain_text: String,
pub html: String,
pub disclaimer: &'static str,
}Expand description
Full chat projection for a run.
Fields§
§strategy: ProjectionStrategyLayout strategy chosen for this run.
confidence: ProjectionConfidenceConfidence relative to emit order.
strategy_reason: StringWhy this strategy was chosen (short, for UI / tests).
lines: Vec<ChatLine>Projected lines in display order.
plain_text: StringPlain-text chat transcript for terminals / logs.
html: StringSelf-contained HTML fragment (section body only).
disclaimer: &'static strHuman-facing disclaimer (always present).
Trait Implementations§
Source§impl Clone for ChatProjection
impl Clone for ChatProjection
Source§fn clone(&self) -> ChatProjection
fn clone(&self) -> ChatProjection
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 ChatProjection
impl RefUnwindSafe for ChatProjection
impl Send for ChatProjection
impl Sync for ChatProjection
impl Unpin for ChatProjection
impl UnsafeUnpin for ChatProjection
impl UnwindSafe for ChatProjection
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