pub struct ReceiptAction {
pub seq: usize,
pub turn: Option<String>,
pub at: Option<DateTime<Utc>>,
pub call_id: Option<String>,
pub tool: String,
pub what: ActionKind,
pub status: ActionStatus,
pub duration_ms: Option<u64>,
pub approval: Option<ApprovalFact>,
pub error: Option<String>,
}Fields§
§seq: usize1-based position in the session’s action order.
turn: Option<String>Runtime turn id, or the 1-based turn number in a terminal session.
at: Option<DateTime<Utc>>§call_id: Option<String>§tool: StringThe tool name exactly as called.
what: ActionKind§status: ActionStatus§duration_ms: Option<u64>§approval: Option<ApprovalFact>§error: Option<String>First line of the failure, bounded and redacted.
Implementations§
Source§impl ReceiptAction
impl ReceiptAction
Sourcepub fn ran_without_asking(&self) -> bool
pub fn ran_without_asking(&self) -> bool
A change, command, code run, web or MCP call, or agent that ran with no approval on record.
Trait Implementations§
Source§impl Clone for ReceiptAction
impl Clone for ReceiptAction
Source§impl Debug for ReceiptAction
impl Debug for ReceiptAction
Source§impl PartialEq for ReceiptAction
impl PartialEq for ReceiptAction
Source§impl Serialize for ReceiptAction
impl Serialize for ReceiptAction
impl StructuralPartialEq for ReceiptAction
Auto Trait Implementations§
impl Freeze for ReceiptAction
impl RefUnwindSafe for ReceiptAction
impl Send for ReceiptAction
impl Sync for ReceiptAction
impl Unpin for ReceiptAction
impl UnsafeUnpin for ReceiptAction
impl UnwindSafe for ReceiptAction
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