pub struct ConflictResolutionResult {
pub written: bool,
pub backup_path: Option<String>,
pub action: String,
}Expand description
Result of applying a conflict resolution strategy
Fields§
§written: boolWhether the file was written
backup_path: Option<String>Path to backup file if created
action: StringResolution action taken
Trait Implementations§
Source§impl Clone for ConflictResolutionResult
impl Clone for ConflictResolutionResult
Source§fn clone(&self) -> ConflictResolutionResult
fn clone(&self) -> ConflictResolutionResult
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 moreAuto Trait Implementations§
impl Freeze for ConflictResolutionResult
impl RefUnwindSafe for ConflictResolutionResult
impl Send for ConflictResolutionResult
impl Sync for ConflictResolutionResult
impl Unpin for ConflictResolutionResult
impl UnwindSafe for ConflictResolutionResult
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