pub struct RepoOp {
pub action: OpAction,
pub path: String,
pub record: Option<Value>,
pub cid: Option<String>,
}Expand description
A single operation within a commit.
Fields§
§action: OpActionThe action performed.
path: StringThe path (collection/rkey).
record: Option<Value>The decoded record value (if action is Create or Update).
cid: Option<String>The CID of the record as a hex string.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RepoOp
impl RefUnwindSafe for RepoOp
impl Send for RepoOp
impl Sync for RepoOp
impl Unpin for RepoOp
impl UnsafeUnpin for RepoOp
impl UnwindSafe for RepoOp
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