pub struct HarnessOperationLedgerEntryV1 {
pub operation_id: HarnessOperationId,
pub created_at_unix_ms: u64,
pub kind: HarnessOperationKindV1,
pub actor: HarnessActorV1,
}Expand description
D5, Slice D’s operator-side per-task operations ledger entry
(HarnessOperatorRequestV1::TaskOperations /
HarnessOperatorResponseV1::TaskOperations), one row per
HarnessEngine::operations_for_task entry. Unlike RedactedOperationV1,
actor here is the RAW HarnessActorV1 – the operator is already
trusted with every other raw identity this wire exposes (session
records, node/workspace ids, …), and this ledger is the audit trail
the plan promises (“the operator’s ledger on T1 shows A’s run as the
actor of both writes”). The agent side never gets this: g4a_tasks_get
keeps RedactedTaskV1’s existing category-only exposure.
Fields§
§operation_id: HarnessOperationId§created_at_unix_ms: u64§kind: HarnessOperationKindV1§actor: HarnessActorV1Implementations§
Source§impl HarnessOperationLedgerEntryV1
impl HarnessOperationLedgerEntryV1
pub fn validate(&self) -> Result<(), HarnessOperatorApiError>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for HarnessOperationLedgerEntryV1
impl<'de> Deserialize<'de> for HarnessOperationLedgerEntryV1
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for HarnessOperationLedgerEntryV1
impl StructuralPartialEq for HarnessOperationLedgerEntryV1
Auto Trait Implementations§
impl Freeze for HarnessOperationLedgerEntryV1
impl RefUnwindSafe for HarnessOperationLedgerEntryV1
impl Send for HarnessOperationLedgerEntryV1
impl Sync for HarnessOperationLedgerEntryV1
impl Unpin for HarnessOperationLedgerEntryV1
impl UnsafeUnpin for HarnessOperationLedgerEntryV1
impl UnwindSafe for HarnessOperationLedgerEntryV1
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