Struct aws_sdk_codecommit::types::builders::ConflictBuilder
source · #[non_exhaustive]pub struct ConflictBuilder { /* private fields */ }Expand description
A builder for Conflict.
Implementations§
source§impl ConflictBuilder
impl ConflictBuilder
sourcepub fn conflict_metadata(self, input: ConflictMetadata) -> Self
pub fn conflict_metadata(self, input: ConflictMetadata) -> Self
Metadata about a conflict in a merge operation.
sourcepub fn set_conflict_metadata(self, input: Option<ConflictMetadata>) -> Self
pub fn set_conflict_metadata(self, input: Option<ConflictMetadata>) -> Self
Metadata about a conflict in a merge operation.
sourcepub fn get_conflict_metadata(&self) -> &Option<ConflictMetadata>
pub fn get_conflict_metadata(&self) -> &Option<ConflictMetadata>
Metadata about a conflict in a merge operation.
sourcepub fn merge_hunks(self, input: MergeHunk) -> Self
pub fn merge_hunks(self, input: MergeHunk) -> Self
Appends an item to merge_hunks.
To override the contents of this collection use set_merge_hunks.
A list of hunks that contain the differences between files or lines causing the conflict.
sourcepub fn set_merge_hunks(self, input: Option<Vec<MergeHunk>>) -> Self
pub fn set_merge_hunks(self, input: Option<Vec<MergeHunk>>) -> Self
A list of hunks that contain the differences between files or lines causing the conflict.
sourcepub fn get_merge_hunks(&self) -> &Option<Vec<MergeHunk>>
pub fn get_merge_hunks(&self) -> &Option<Vec<MergeHunk>>
A list of hunks that contain the differences between files or lines causing the conflict.
Trait Implementations§
source§impl Clone for ConflictBuilder
impl Clone for ConflictBuilder
source§fn clone(&self) -> ConflictBuilder
fn clone(&self) -> ConflictBuilder
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 ConflictBuilder
impl Debug for ConflictBuilder
source§impl Default for ConflictBuilder
impl Default for ConflictBuilder
source§fn default() -> ConflictBuilder
fn default() -> ConflictBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ConflictBuilder
impl PartialEq for ConflictBuilder
source§fn eq(&self, other: &ConflictBuilder) -> bool
fn eq(&self, other: &ConflictBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ConflictBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ConflictBuilder
impl Send for ConflictBuilder
impl Sync for ConflictBuilder
impl Unpin for ConflictBuilder
impl UnwindSafe for ConflictBuilder
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.