pub struct TerminalRecord {
pub raw: Value,
pub terminal: Option<Terminal>,
pub stopped_by: Option<Bound>,
pub usage: Option<RunUsage>,
pub result_truncated: bool,
}Expand description
A terminal payload exactly as written, with the basis-owned fields this build recognizes alongside it.
Fields§
§raw: ValueThe exact terminal or message-terminal JSON read from disk.
terminal: Option<Terminal>The typed terminal state, or None when a newer writer used a state
this build does not know.
stopped_by: Option<Bound>The bound that stopped the run, when one did.
usage: Option<RunUsage>Usage reported by the completed task, when present.
result_truncated: boolWhether the result text was truncated before it was recorded.
Trait Implementations§
Source§impl Clone for TerminalRecord
impl Clone for TerminalRecord
Source§fn clone(&self) -> TerminalRecord
fn clone(&self) -> TerminalRecord
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 TerminalRecord
impl Debug for TerminalRecord
Source§impl PartialEq for TerminalRecord
impl PartialEq for TerminalRecord
impl StructuralPartialEq for TerminalRecord
Auto Trait Implementations§
impl Freeze for TerminalRecord
impl RefUnwindSafe for TerminalRecord
impl Send for TerminalRecord
impl Sync for TerminalRecord
impl Unpin for TerminalRecord
impl UnsafeUnpin for TerminalRecord
impl UnwindSafe for TerminalRecord
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