pub struct StateDelta {
pub retract: Vec<Triple>,
pub assert: Vec<Triple>,
}Expand description
The changes an append makes to the actor’s current-state graph (the named graph named by the actor address): statements of exited states to retract, and statements to assert.
Only stores that declare JournalCapabilities::state_in_append accept a delta; they
commit it in the same transaction as the entries. Retractions apply before assertions.
Statements may not contain blank nodes, so that a later delta can name them again.
Fields§
§retract: Vec<Triple>Statements to retract from the current-state graph.
assert: Vec<Triple>Statements to assert in the current-state graph.
Implementations§
Trait Implementations§
Source§impl Clone for StateDelta
impl Clone for StateDelta
Source§impl Debug for StateDelta
impl Debug for StateDelta
Source§impl Default for StateDelta
impl Default for StateDelta
impl Eq for StateDelta
Source§impl PartialEq for StateDelta
impl PartialEq for StateDelta
impl StructuralPartialEq for StateDelta
Auto Trait Implementations§
impl Forget for StateDelta
impl Freeze for StateDelta
impl Move for StateDelta
impl RefUnwindSafe for StateDelta
impl Send for StateDelta
impl Sync for StateDelta
impl Unpin for StateDelta
impl UnsafeUnpin for StateDelta
impl UnwindSafe for StateDelta
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