Struct loro_internal::op::OwnedRichOp
source · pub struct OwnedRichOp {
pub op: Op,
pub client_id: PeerID,
pub lamport: Lamport,
pub timestamp: Timestamp,
}Expand description
RichOp includes lamport and timestamp info, which is used for conflict resolution.
Fields§
§op: Op§client_id: PeerID§lamport: Lamport§timestamp: TimestampImplementations§
Trait Implementations§
source§impl Clone for OwnedRichOp
impl Clone for OwnedRichOp
source§fn clone(&self) -> OwnedRichOp
fn clone(&self) -> OwnedRichOp
Returns a copy 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 RefUnwindSafe for OwnedRichOp
impl Send for OwnedRichOp
impl Sync for OwnedRichOp
impl Unpin for OwnedRichOp
impl UnwindSafe for OwnedRichOp
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