#[non_exhaustive]pub struct GetMergeCommitOutput {
pub source_commit_id: Option<String>,
pub destination_commit_id: Option<String>,
pub base_commit_id: Option<String>,
pub merged_commit_id: Option<String>,
/* private fields */
}
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.source_commit_id: Option<String>
The commit ID of the source commit specifier that was used in the merge evaluation.
destination_commit_id: Option<String>
The commit ID of the destination commit specifier that was used in the merge evaluation.
base_commit_id: Option<String>
The commit ID of the merge base.
merged_commit_id: Option<String>
The commit ID for the merge commit created when the source branch was merged into the destination branch. If the fast-forward merge strategy was used, there is no merge commit.
Implementations§
source§impl GetMergeCommitOutput
impl GetMergeCommitOutput
sourcepub fn source_commit_id(&self) -> Option<&str>
pub fn source_commit_id(&self) -> Option<&str>
The commit ID of the source commit specifier that was used in the merge evaluation.
sourcepub fn destination_commit_id(&self) -> Option<&str>
pub fn destination_commit_id(&self) -> Option<&str>
The commit ID of the destination commit specifier that was used in the merge evaluation.
sourcepub fn base_commit_id(&self) -> Option<&str>
pub fn base_commit_id(&self) -> Option<&str>
The commit ID of the merge base.
sourcepub fn merged_commit_id(&self) -> Option<&str>
pub fn merged_commit_id(&self) -> Option<&str>
The commit ID for the merge commit created when the source branch was merged into the destination branch. If the fast-forward merge strategy was used, there is no merge commit.
source§impl GetMergeCommitOutput
impl GetMergeCommitOutput
sourcepub fn builder() -> GetMergeCommitOutputBuilder
pub fn builder() -> GetMergeCommitOutputBuilder
Creates a new builder-style object to manufacture GetMergeCommitOutput
.
Trait Implementations§
source§impl Clone for GetMergeCommitOutput
impl Clone for GetMergeCommitOutput
source§fn clone(&self) -> GetMergeCommitOutput
fn clone(&self) -> GetMergeCommitOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetMergeCommitOutput
impl Debug for GetMergeCommitOutput
source§impl PartialEq for GetMergeCommitOutput
impl PartialEq for GetMergeCommitOutput
source§fn eq(&self, other: &GetMergeCommitOutput) -> bool
fn eq(&self, other: &GetMergeCommitOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetMergeCommitOutput
impl RequestId for GetMergeCommitOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.