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 ==
.