#[non_exhaustive]pub struct GetMergeCommitInput {
pub repository_name: Option<String>,
pub source_commit_specifier: Option<String>,
pub destination_commit_specifier: Option<String>,
pub conflict_detail_level: Option<ConflictDetailLevelTypeEnum>,
pub conflict_resolution_strategy: Option<ConflictResolutionStrategyTypeEnum>,
}
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.repository_name: Option<String>
The name of the repository that contains the merge commit about which you want to get information.
source_commit_specifier: Option<String>
The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).
destination_commit_specifier: Option<String>
The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).
conflict_detail_level: Option<ConflictDetailLevelTypeEnum>
The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used, which returns a not-mergeable result if the same file has differences in both branches. If LINE_LEVEL is specified, a conflict is considered not mergeable if the same file in both branches has differences on the same line.
conflict_resolution_strategy: Option<ConflictResolutionStrategyTypeEnum>
Specifies which branch to use when resolving conflicts, or whether to attempt automatically merging two versions of a file. The default is NONE, which requires any conflicts to be resolved manually before the merge operation is successful.
Implementations§
source§impl GetMergeCommitInput
impl GetMergeCommitInput
sourcepub fn repository_name(&self) -> Option<&str>
pub fn repository_name(&self) -> Option<&str>
The name of the repository that contains the merge commit about which you want to get information.
sourcepub fn source_commit_specifier(&self) -> Option<&str>
pub fn source_commit_specifier(&self) -> Option<&str>
The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).
sourcepub fn destination_commit_specifier(&self) -> Option<&str>
pub fn destination_commit_specifier(&self) -> Option<&str>
The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).
sourcepub fn conflict_detail_level(&self) -> Option<&ConflictDetailLevelTypeEnum>
pub fn conflict_detail_level(&self) -> Option<&ConflictDetailLevelTypeEnum>
The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used, which returns a not-mergeable result if the same file has differences in both branches. If LINE_LEVEL is specified, a conflict is considered not mergeable if the same file in both branches has differences on the same line.
sourcepub fn conflict_resolution_strategy(
&self
) -> Option<&ConflictResolutionStrategyTypeEnum>
pub fn conflict_resolution_strategy( &self ) -> Option<&ConflictResolutionStrategyTypeEnum>
Specifies which branch to use when resolving conflicts, or whether to attempt automatically merging two versions of a file. The default is NONE, which requires any conflicts to be resolved manually before the merge operation is successful.
source§impl GetMergeCommitInput
impl GetMergeCommitInput
sourcepub fn builder() -> GetMergeCommitInputBuilder
pub fn builder() -> GetMergeCommitInputBuilder
Creates a new builder-style object to manufacture GetMergeCommitInput
.
Trait Implementations§
source§impl Clone for GetMergeCommitInput
impl Clone for GetMergeCommitInput
source§fn clone(&self) -> GetMergeCommitInput
fn clone(&self) -> GetMergeCommitInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetMergeCommitInput
impl Debug for GetMergeCommitInput
source§impl PartialEq for GetMergeCommitInput
impl PartialEq for GetMergeCommitInput
source§fn eq(&self, other: &GetMergeCommitInput) -> bool
fn eq(&self, other: &GetMergeCommitInput) -> bool
self
and other
values to be equal, and is used
by ==
.