Struct aws_sdk_codecommit::types::builders::MergeHunkBuilder
source · #[non_exhaustive]pub struct MergeHunkBuilder { /* private fields */ }Expand description
A builder for MergeHunk.
Implementations§
source§impl MergeHunkBuilder
impl MergeHunkBuilder
sourcepub fn is_conflict(self, input: bool) -> Self
pub fn is_conflict(self, input: bool) -> Self
A Boolean value indicating whether a combination of hunks contains a conflict. Conflicts occur when the same file or the same lines in a file were modified in both the source and destination of a merge or pull request. Valid values include true, false, and null. True when the hunk represents a conflict and one or more files contains a line conflict. File mode conflicts in a merge do not set this to true.
sourcepub fn set_is_conflict(self, input: Option<bool>) -> Self
pub fn set_is_conflict(self, input: Option<bool>) -> Self
A Boolean value indicating whether a combination of hunks contains a conflict. Conflicts occur when the same file or the same lines in a file were modified in both the source and destination of a merge or pull request. Valid values include true, false, and null. True when the hunk represents a conflict and one or more files contains a line conflict. File mode conflicts in a merge do not set this to true.
sourcepub fn get_is_conflict(&self) -> &Option<bool>
pub fn get_is_conflict(&self) -> &Option<bool>
A Boolean value indicating whether a combination of hunks contains a conflict. Conflicts occur when the same file or the same lines in a file were modified in both the source and destination of a merge or pull request. Valid values include true, false, and null. True when the hunk represents a conflict and one or more files contains a line conflict. File mode conflicts in a merge do not set this to true.
sourcepub fn source(self, input: MergeHunkDetail) -> Self
pub fn source(self, input: MergeHunkDetail) -> Self
Information about the merge hunk in the source of a merge or pull request.
sourcepub fn set_source(self, input: Option<MergeHunkDetail>) -> Self
pub fn set_source(self, input: Option<MergeHunkDetail>) -> Self
Information about the merge hunk in the source of a merge or pull request.
sourcepub fn get_source(&self) -> &Option<MergeHunkDetail>
pub fn get_source(&self) -> &Option<MergeHunkDetail>
Information about the merge hunk in the source of a merge or pull request.
sourcepub fn destination(self, input: MergeHunkDetail) -> Self
pub fn destination(self, input: MergeHunkDetail) -> Self
Information about the merge hunk in the destination of a merge or pull request.
sourcepub fn set_destination(self, input: Option<MergeHunkDetail>) -> Self
pub fn set_destination(self, input: Option<MergeHunkDetail>) -> Self
Information about the merge hunk in the destination of a merge or pull request.
sourcepub fn get_destination(&self) -> &Option<MergeHunkDetail>
pub fn get_destination(&self) -> &Option<MergeHunkDetail>
Information about the merge hunk in the destination of a merge or pull request.
sourcepub fn base(self, input: MergeHunkDetail) -> Self
pub fn base(self, input: MergeHunkDetail) -> Self
Information about the merge hunk in the base of a merge or pull request.
sourcepub fn set_base(self, input: Option<MergeHunkDetail>) -> Self
pub fn set_base(self, input: Option<MergeHunkDetail>) -> Self
Information about the merge hunk in the base of a merge or pull request.
sourcepub fn get_base(&self) -> &Option<MergeHunkDetail>
pub fn get_base(&self) -> &Option<MergeHunkDetail>
Information about the merge hunk in the base of a merge or pull request.
Trait Implementations§
source§impl Clone for MergeHunkBuilder
impl Clone for MergeHunkBuilder
source§fn clone(&self) -> MergeHunkBuilder
fn clone(&self) -> MergeHunkBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for MergeHunkBuilder
impl Debug for MergeHunkBuilder
source§impl Default for MergeHunkBuilder
impl Default for MergeHunkBuilder
source§fn default() -> MergeHunkBuilder
fn default() -> MergeHunkBuilder
source§impl PartialEq for MergeHunkBuilder
impl PartialEq for MergeHunkBuilder
source§fn eq(&self, other: &MergeHunkBuilder) -> bool
fn eq(&self, other: &MergeHunkBuilder) -> bool
self and other values to be equal, and is used
by ==.