pub struct UndoResult {
pub files: Vec<PathBuf>,
pub undone_commit: String,
pub description: String,
pub conflicts: Vec<String>,
}Expand description
Result of an undo operation.
Fields§
§files: Vec<PathBuf>Files that were modified by the undo
undone_commit: StringThe commit that was undone
description: StringDescription of what was undone
conflicts: Vec<String>Files that have been modified externally (only populated in dry-run)
Auto Trait Implementations§
impl Freeze for UndoResult
impl RefUnwindSafe for UndoResult
impl Send for UndoResult
impl Sync for UndoResult
impl Unpin for UndoResult
impl UnsafeUnpin for UndoResult
impl UnwindSafe for UndoResult
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