Struct aws_sdk_codecommit::types::MergeOperations
source · #[non_exhaustive]pub struct MergeOperations {
pub source: Option<ChangeTypeEnum>,
pub destination: Option<ChangeTypeEnum>,
}Expand description
Information about the file operation conflicts in a merge operation.
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.source: Option<ChangeTypeEnum>The operation (add, modify, or delete) on a file in the source of a merge or pull request.
destination: Option<ChangeTypeEnum>The operation on a file in the destination of a merge or pull request.
Implementations§
source§impl MergeOperations
impl MergeOperations
sourcepub fn source(&self) -> Option<&ChangeTypeEnum>
pub fn source(&self) -> Option<&ChangeTypeEnum>
The operation (add, modify, or delete) on a file in the source of a merge or pull request.
sourcepub fn destination(&self) -> Option<&ChangeTypeEnum>
pub fn destination(&self) -> Option<&ChangeTypeEnum>
The operation on a file in the destination of a merge or pull request.
source§impl MergeOperations
impl MergeOperations
sourcepub fn builder() -> MergeOperationsBuilder
pub fn builder() -> MergeOperationsBuilder
Creates a new builder-style object to manufacture MergeOperations.
Trait Implementations§
source§impl Clone for MergeOperations
impl Clone for MergeOperations
source§fn clone(&self) -> MergeOperations
fn clone(&self) -> MergeOperations
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 MergeOperations
impl Debug for MergeOperations
source§impl PartialEq for MergeOperations
impl PartialEq for MergeOperations
source§fn eq(&self, other: &MergeOperations) -> bool
fn eq(&self, other: &MergeOperations) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for MergeOperations
Auto Trait Implementations§
impl RefUnwindSafe for MergeOperations
impl Send for MergeOperations
impl Sync for MergeOperations
impl Unpin for MergeOperations
impl UnwindSafe for MergeOperations
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
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>
Creates a shared type from an unshared type.