pub struct RecordedOperation {
pub operation: Operation,
pub workspace_id: WorkspaceId,
pub lineage_id: LineageId,
}Expand description
A committed operation with the workspace and writable history it was recorded in; mutation results and history entries return the same object, so a resent operation is answered with exactly what the first attempt returned.
Fields§
§operation: OperationIdentity, actor, timestamp, revision precondition and semantic command.
workspace_id: WorkspaceIdWorkspace the operation changed.
lineage_id: LineageIdLineage of the store that committed it; a restored store keeps the lineages of the operations it copied and records later ones under its own.
Trait Implementations§
Source§impl Clone for RecordedOperation
impl Clone for RecordedOperation
Source§impl Debug for RecordedOperation
impl Debug for RecordedOperation
Source§impl<'de> Deserialize<'de> for RecordedOperation
impl<'de> Deserialize<'de> for RecordedOperation
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
Auto Trait Implementations§
impl Freeze for RecordedOperation
impl RefUnwindSafe for RecordedOperation
impl Send for RecordedOperation
impl Sync for RecordedOperation
impl Unpin for RecordedOperation
impl UnsafeUnpin for RecordedOperation
impl UnwindSafe for RecordedOperation
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