pub struct BatchMutation {
pub transaction: String,
pub mutations: Vec<Mutation>,
}Expand description
What WriteEngine::edit_batch wrote: one mutation per edit, in the
order given, all under one journal transaction; undoing any of its
journal ids, or the transaction id, reverts them all. A dry run’s
transaction and journal ids are dry-run.
Fields§
§transaction: String§mutations: Vec<Mutation>Trait Implementations§
Source§impl Clone for BatchMutation
impl Clone for BatchMutation
Auto Trait Implementations§
impl Freeze for BatchMutation
impl RefUnwindSafe for BatchMutation
impl Send for BatchMutation
impl Sync for BatchMutation
impl Unpin for BatchMutation
impl UnsafeUnpin for BatchMutation
impl UnwindSafe for BatchMutation
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