pub struct ConflictResult {
pub choice: ConflictChoice,
pub merged_file: Option<String>,
pub save_merged: bool,
}Expand description
Result of conflict resolution.
Fields§
§choice: ConflictChoiceThe choice made to resolve the conflict.
merged_file: Option<String>Path to merged file (if choice is Merged).
save_merged: boolWhether to save the resolution to the working copy.
Trait Implementations§
Source§impl Clone for ConflictResult
impl Clone for ConflictResult
Source§fn clone(&self) -> ConflictResult
fn clone(&self) -> ConflictResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ConflictResult
impl Debug for ConflictResult
Auto Trait Implementations§
impl Freeze for ConflictResult
impl RefUnwindSafe for ConflictResult
impl Send for ConflictResult
impl Sync for ConflictResult
impl Unpin for ConflictResult
impl UnsafeUnpin for ConflictResult
impl UnwindSafe for ConflictResult
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