pub struct EditRow {
pub resource: Symbol,
pub operator: Symbol,
pub tick: u64,
pub operation: Expr,
}Expand description
One append-only ledger row: a committed edit, attributed and replayable.
Rows are appended in submit order. Replaying them in order through
replay reproduces the final canonical state.
Fields§
§resource: SymbolThe resource that was edited.
operator: SymbolThe issuing operator (from the Intent origin, e.g. human/agent).
tick: u64The issuing logical tick (from the Intent origin at-tick).
operation: ExprThe committed {op: set-value, value: <proposed>} operation.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EditRow
impl RefUnwindSafe for EditRow
impl Send for EditRow
impl Sync for EditRow
impl Unpin for EditRow
impl UnsafeUnpin for EditRow
impl UnwindSafe for EditRow
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