#[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 ==.impl StructuralPartialEq for ConflictResolutionBuilder
Auto Trait Implementations§
impl Freeze for ConflictResolutionBuilder
impl RefUnwindSafe for ConflictResolutionBuilder
impl Send for ConflictResolutionBuilder
impl Sync for ConflictResolutionBuilder
impl Unpin for ConflictResolutionBuilder
impl UnwindSafe for ConflictResolutionBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more