pub struct Restoring<'a> {
pub entry: Entry,
pub direction: Direction,
pub target: Document,
pub label: &'a str,
}Expand description
One history step, as Repo::restore takes it: which entry is being
stepped, which way, the document that step adopts, and what the record
it moves is called.
Fields§
§entry: Entry§direction: Direction§target: DocumentThe document the session stood on before the record at
entry.rev was written — read back from wherever this session
keeps its rev copies.
label: &'a strAuto Trait Implementations§
impl<'a> Freeze for Restoring<'a>
impl<'a> RefUnwindSafe for Restoring<'a>
impl<'a> Send for Restoring<'a>
impl<'a> Sync for Restoring<'a>
impl<'a> Unpin for Restoring<'a>
impl<'a> UnsafeUnpin for Restoring<'a>
impl<'a> UnwindSafe for Restoring<'a>
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