pub struct JjOperation {
pub id: String,
pub description: String,
}Expand description
A single entry in the jj operation log.
Returned by crate::jj_operation_log. Ungated (no parsing feature
needed): it’s a plain tab-split of jj op log, not JSON-templated output.
Fields§
§id: StringThe full operation id. Accepted directly by crate::jj_op_restore.
description: StringThe operation’s first-line description, e.g.
"reconcile divergent operations" — the signature of a concurrent
writer that forced jj to merge two operation-log heads.
Trait Implementations§
Source§impl Clone for JjOperation
impl Clone for JjOperation
Source§fn clone(&self) -> JjOperation
fn clone(&self) -> JjOperation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for JjOperation
impl Debug for JjOperation
impl Eq for JjOperation
Source§impl PartialEq for JjOperation
impl PartialEq for JjOperation
Source§fn eq(&self, other: &JjOperation) -> bool
fn eq(&self, other: &JjOperation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for JjOperation
Auto Trait Implementations§
impl Freeze for JjOperation
impl RefUnwindSafe for JjOperation
impl Send for JjOperation
impl Sync for JjOperation
impl Unpin for JjOperation
impl UnsafeUnpin for JjOperation
impl UnwindSafe for JjOperation
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