#[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 ==
.impl StructuralPartialEq for GetMergeCommitInput
Auto Trait Implementations§
impl Freeze for GetMergeCommitInput
impl RefUnwindSafe for GetMergeCommitInput
impl Send for GetMergeCommitInput
impl Sync for GetMergeCommitInput
impl Unpin for GetMergeCommitInput
impl UnwindSafe for GetMergeCommitInput
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more