pub struct ConflictResolution {
pub delete_files: Option<Vec<DeleteFileEntry>>,
pub replace_contents: Option<Vec<ReplaceContentEntry>>,
pub set_file_modes: Option<Vec<SetFileModeEntry>>,
}Expand description
If AUTOMERGE is the conflict resolution strategy, a list of inputs to use when resolving conflicts during a merge.
Fields§
§delete_files: Option<Vec<DeleteFileEntry>>Files to be deleted as part of the merge conflict resolution.
replace_contents: Option<Vec<ReplaceContentEntry>>Files to have content replaced as part of the merge conflict resolution.
set_file_modes: Option<Vec<SetFileModeEntry>>File modes that are set as part of the merge conflict resolution.
Trait Implementations§
Source§impl Clone for ConflictResolution
impl Clone for ConflictResolution
Source§fn clone(&self) -> ConflictResolution
fn clone(&self) -> ConflictResolution
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 ConflictResolution
impl Debug for ConflictResolution
Source§impl Default for ConflictResolution
impl Default for ConflictResolution
Source§fn default() -> ConflictResolution
fn default() -> ConflictResolution
Returns the “default value” for a type. Read more
Source§impl PartialEq for ConflictResolution
impl PartialEq for ConflictResolution
Source§impl Serialize for ConflictResolution
impl Serialize for ConflictResolution
impl StructuralPartialEq for ConflictResolution
Auto Trait Implementations§
impl Freeze for ConflictResolution
impl RefUnwindSafe for ConflictResolution
impl Send for ConflictResolution
impl Sync for ConflictResolution
impl Unpin for ConflictResolution
impl UnwindSafe for ConflictResolution
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