Struct aws_sdk_codecommit::model::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
sourceimpl 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.
sourceimpl ConflictResolution
impl ConflictResolution
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ConflictResolution
Trait Implementations
sourceimpl Clone for ConflictResolution
impl Clone for ConflictResolution
sourcefn clone(&self) -> ConflictResolution
fn clone(&self) -> ConflictResolution
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ConflictResolution
impl Debug for ConflictResolution
sourceimpl PartialEq<ConflictResolution> for ConflictResolution
impl PartialEq<ConflictResolution> for ConflictResolution
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &ConflictResolution) -> bool
fn ne(&self, other: &ConflictResolution) -> bool
This method tests for !=
.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more