pub enum CommitChange {
Table(StorageWrite),
Document {
record: DocumentRecord,
conversation_id: Option<ConversationId>,
version: Option<u64>,
value: Option<Arc<Value>>,
ops: Vec<Op>,
},
DocumentCopy {
record: DocumentRecord,
conversation_id: ConversationId,
source: DocumentCopySource,
},
}Expand description
One change of a successful commit.
Variants§
Table(StorageWrite)
A complete conversation, entry, task, or submission record, as written.
Document
A created, changed, or retired incarnation; value is None and ops empty when this commit retired it.
Fields
§
record: DocumentRecord§
conversation_id: Option<ConversationId>Owning conversation; task documents derive it from their task. None only for Session documents.
DocumentCopy
A definition-free fork copy; consumers hydrate through reads or watches.
Trait Implementations§
Source§impl Clone for CommitChange
impl Clone for CommitChange
Source§impl Debug for CommitChange
impl Debug for CommitChange
Source§impl PartialEq for CommitChange
impl PartialEq for CommitChange
impl StructuralPartialEq for CommitChange
Auto Trait Implementations§
impl Forget for CommitChange
impl Freeze for CommitChange
impl Move for CommitChange
impl RefUnwindSafe for CommitChange
impl Send for CommitChange
impl Sync for CommitChange
impl Unpin for CommitChange
impl UnsafeUnpin for CommitChange
impl UnwindSafe for CommitChange
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