pub struct OperationRecord {
pub id: OperationId,
pub kind: String,
pub last_step: u32,
pub data: Vec<u8>,
pub started_by: String,
}Expand description
A journal row read as one committed value.
Fields§
§id: OperationIdIts local identity.
kind: StringThe kind’s stable name, defined by its sync implementation.
last_step: u32Last completed step; zero precedes the first step.
data: Vec<u8>The kind’s encoded state, including fixed identities and causal views.
started_by: StringThe initiating app method or coven.
Implementations§
Trait Implementations§
Source§impl Clone for OperationRecord
impl Clone for OperationRecord
Source§fn clone(&self) -> OperationRecord
fn clone(&self) -> OperationRecord
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for OperationRecord
impl RefUnwindSafe for OperationRecord
impl Send for OperationRecord
impl Sync for OperationRecord
impl Unpin for OperationRecord
impl UnsafeUnpin for OperationRecord
impl UnwindSafe for OperationRecord
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