Struct aws_sdk_codecommit::types::ConflictResolution
source · #[non_exhaustive]pub struct ConflictResolution {
pub replace_contents: Option<Vec<ReplaceContentEntry>>,
pub delete_files: Option<Vec<DeleteFileEntry>>,
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 (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.replace_contents: Option<Vec<ReplaceContentEntry>>Files to have content replaced as part of the merge conflict resolution.
delete_files: Option<Vec<DeleteFileEntry>>Files to be deleted 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.
Implementations§
source§impl ConflictResolution
impl ConflictResolution
sourcepub fn replace_contents(&self) -> &[ReplaceContentEntry]
pub fn replace_contents(&self) -> &[ReplaceContentEntry]
Files to have content replaced as part of the merge conflict resolution.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .replace_contents.is_none().
sourcepub fn delete_files(&self) -> &[DeleteFileEntry]
pub fn delete_files(&self) -> &[DeleteFileEntry]
Files to be deleted as part of the merge conflict resolution.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .delete_files.is_none().
sourcepub fn set_file_modes(&self) -> &[SetFileModeEntry]
pub fn set_file_modes(&self) -> &[SetFileModeEntry]
File modes that are set as part of the merge conflict resolution.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .set_file_modes.is_none().
source§impl ConflictResolution
impl ConflictResolution
sourcepub fn builder() -> ConflictResolutionBuilder
pub fn builder() -> ConflictResolutionBuilder
Creates a new builder-style object to manufacture ConflictResolution.
Trait Implementations§
source§impl Clone for ConflictResolution
impl Clone for ConflictResolution
source§fn clone(&self) -> ConflictResolution
fn clone(&self) -> ConflictResolution
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ConflictResolution
impl Debug for ConflictResolution
source§impl PartialEq for ConflictResolution
impl PartialEq for ConflictResolution
source§fn eq(&self, other: &ConflictResolution) -> bool
fn eq(&self, other: &ConflictResolution) -> bool
self and other values to be equal, and is used
by ==.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
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