#[non_exhaustive]pub struct ConflictResolutionBuilder { /* private fields */ }
Expand description
A builder for ConflictResolution
.
Implementations§
source§impl ConflictResolutionBuilder
impl ConflictResolutionBuilder
sourcepub fn replace_contents(self, input: ReplaceContentEntry) -> Self
pub fn replace_contents(self, input: ReplaceContentEntry) -> Self
Appends an item to replace_contents
.
To override the contents of this collection use set_replace_contents
.
Files to have content replaced as part of the merge conflict resolution.
sourcepub fn set_replace_contents(
self,
input: Option<Vec<ReplaceContentEntry>>
) -> Self
pub fn set_replace_contents( self, input: Option<Vec<ReplaceContentEntry>> ) -> Self
Files to have content replaced as part of the merge conflict resolution.
sourcepub fn get_replace_contents(&self) -> &Option<Vec<ReplaceContentEntry>>
pub fn get_replace_contents(&self) -> &Option<Vec<ReplaceContentEntry>>
Files to have content replaced as part of the merge conflict resolution.
sourcepub fn delete_files(self, input: DeleteFileEntry) -> Self
pub fn delete_files(self, input: DeleteFileEntry) -> Self
Appends an item to delete_files
.
To override the contents of this collection use set_delete_files
.
Files to be deleted as part of the merge conflict resolution.
sourcepub fn set_delete_files(self, input: Option<Vec<DeleteFileEntry>>) -> Self
pub fn set_delete_files(self, input: Option<Vec<DeleteFileEntry>>) -> Self
Files to be deleted as part of the merge conflict resolution.
sourcepub fn get_delete_files(&self) -> &Option<Vec<DeleteFileEntry>>
pub fn get_delete_files(&self) -> &Option<Vec<DeleteFileEntry>>
Files to be deleted as part of the merge conflict resolution.
sourcepub fn set_file_modes(self, input: SetFileModeEntry) -> Self
pub fn set_file_modes(self, input: SetFileModeEntry) -> Self
Appends an item to set_file_modes
.
To override the contents of this collection use set_set_file_modes
.
File modes that are set as part of the merge conflict resolution.
sourcepub fn set_set_file_modes(self, input: Option<Vec<SetFileModeEntry>>) -> Self
pub fn set_set_file_modes(self, input: Option<Vec<SetFileModeEntry>>) -> Self
File modes that are set as part of the merge conflict resolution.
sourcepub fn get_set_file_modes(&self) -> &Option<Vec<SetFileModeEntry>>
pub fn get_set_file_modes(&self) -> &Option<Vec<SetFileModeEntry>>
File modes that are set as part of the merge conflict resolution.
sourcepub fn build(self) -> ConflictResolution
pub fn build(self) -> ConflictResolution
Consumes the builder and constructs a ConflictResolution
.
Trait Implementations§
source§impl Clone for ConflictResolutionBuilder
impl Clone for ConflictResolutionBuilder
source§fn clone(&self) -> ConflictResolutionBuilder
fn clone(&self) -> ConflictResolutionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ConflictResolutionBuilder
impl Debug for ConflictResolutionBuilder
source§impl Default for ConflictResolutionBuilder
impl Default for ConflictResolutionBuilder
source§fn default() -> ConflictResolutionBuilder
fn default() -> ConflictResolutionBuilder
source§impl PartialEq for ConflictResolutionBuilder
impl PartialEq for ConflictResolutionBuilder
source§fn eq(&self, other: &ConflictResolutionBuilder) -> bool
fn eq(&self, other: &ConflictResolutionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.