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
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
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) -> Option<&[ReplaceContentEntry]>
pub fn replace_contents(&self) -> Option<&[ReplaceContentEntry]>
Files to have content replaced as part of the merge conflict resolution.
sourcepub fn delete_files(&self) -> Option<&[DeleteFileEntry]>
pub fn delete_files(&self) -> Option<&[DeleteFileEntry]>
Files to be deleted as part of the merge conflict resolution.
sourcepub fn set_file_modes(&self) -> Option<&[SetFileModeEntry]>
pub fn set_file_modes(&self) -> Option<&[SetFileModeEntry]>
File modes that are set as part of the merge conflict resolution.
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
Returns a copy 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 PartialEq<ConflictResolution> for ConflictResolution
impl PartialEq<ConflictResolution> for ConflictResolution
source§fn eq(&self, other: &ConflictResolution) -> bool
fn eq(&self, other: &ConflictResolution) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ConflictResolution
Auto Trait Implementations§
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