pub struct RecordOp {
pub path: String,
pub old_value: Option<Cid>,
pub new_value: Option<Cid>,
}Expand description
One record that changed between two trees.
Fields§
§path: StringThe repository path: <collection>/<record key>.
old_value: Option<Cid>What the record was before, or None if it was created.
new_value: Option<Cid>What it is after, or None if it was deleted.
Trait Implementations§
impl Eq for RecordOp
impl StructuralPartialEq for RecordOp
Auto Trait Implementations§
impl Freeze for RecordOp
impl RefUnwindSafe for RecordOp
impl Send for RecordOp
impl Sync for RecordOp
impl Unpin for RecordOp
impl UnsafeUnpin for RecordOp
impl UnwindSafe for RecordOp
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.