pub struct CommandRecord {
pub id: CommandRecordId,
pub command: CommandIdentity,
pub source: CommandSource,
pub context: CommandExecutionContext,
pub timing: CommandTiming,
pub result: CommandResultSummary,
pub retention: OutputRetention,
pub refresh: RefreshPlan,
pub safety: SafetyClass,
pub execution_mode: ExecutionMode,
pub operation_id: Option<String>,
}Expand description
One retained command-history record.
Fields§
§id: CommandRecordIdStable id for this in-memory history.
command: CommandIdentityCommand identity captured from a typed spec.
source: CommandSourceView and action that triggered the command.
context: CommandExecutionContextExecution context captured before running the command.
timing: CommandTimingStart and finish timing.
result: CommandResultSummaryProcess or spawn result summary.
retention: OutputRetentionOutput retention policy used for this record.
refresh: RefreshPlanRefresh behavior requested by the command spec.
safety: SafetyClassSafety classification requested by the command spec.
execution_mode: ExecutionModeExecution mode requested by the command spec.
operation_id: Option<String>Operation id reported by jj, when cheaply available.
Trait Implementations§
Source§impl Clone for CommandRecord
impl Clone for CommandRecord
Source§impl Debug for CommandRecord
impl Debug for CommandRecord
impl Eq for CommandRecord
Source§impl PartialEq for CommandRecord
impl PartialEq for CommandRecord
impl StructuralPartialEq for CommandRecord
Auto Trait Implementations§
impl Forget for CommandRecord
impl Freeze for CommandRecord
impl RefUnwindSafe for CommandRecord
impl Send for CommandRecord
impl Sync for CommandRecord
impl Unpin for CommandRecord
impl UnsafeUnpin for CommandRecord
impl UnwindSafe for CommandRecord
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