#[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.impl StructuralPartialEq for GetMergeCommitOutput
Auto Trait Implementations§
impl Freeze for GetMergeCommitOutput
impl RefUnwindSafe for GetMergeCommitOutput
impl Send for GetMergeCommitOutput
impl Sync for GetMergeCommitOutput
impl Unpin for GetMergeCommitOutput
impl UnwindSafe for GetMergeCommitOutput
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