pub struct TranscriptCell {
pub kind: TranscriptKind,
pub state: CellState,
pub title: String,
pub body: String,
pub event_kind: Option<String>,
pub opaque_payload: Option<Value>,
}Expand description
One renderer-ready transcript cell.
Unknown payloads are retained in full in opaque_payload; renderers must
use a bounded preview and may expose the complete value through an explicit
inspection action.
Fields§
§kind: TranscriptKind§state: CellState§title: String§body: String§event_kind: Option<String>§opaque_payload: Option<Value>Trait Implementations§
Source§impl Clone for TranscriptCell
impl Clone for TranscriptCell
Source§fn clone(&self) -> TranscriptCell
fn clone(&self) -> TranscriptCell
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 TranscriptCell
impl Debug for TranscriptCell
Source§impl PartialEq for TranscriptCell
impl PartialEq for TranscriptCell
impl StructuralPartialEq for TranscriptCell
Auto Trait Implementations§
impl Freeze for TranscriptCell
impl RefUnwindSafe for TranscriptCell
impl Send for TranscriptCell
impl Sync for TranscriptCell
impl Unpin for TranscriptCell
impl UnsafeUnpin for TranscriptCell
impl UnwindSafe for TranscriptCell
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