#[non_exhaustive]pub struct GetMergeOptionsOutput {
pub merge_options: Vec<MergeOptionTypeEnum>,
pub source_commit_id: String,
pub destination_commit_id: String,
pub base_commit_id: String,
/* private fields */
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.merge_options: Vec<MergeOptionTypeEnum>
The merge option or strategy used to merge the code.
source_commit_id: String
The commit ID of the source commit specifier that was used in the merge evaluation.
destination_commit_id: String
The commit ID of the destination commit specifier that was used in the merge evaluation.
base_commit_id: String
The commit ID of the merge base.
Implementations§
source§impl GetMergeOptionsOutput
impl GetMergeOptionsOutput
sourcepub fn merge_options(&self) -> &[MergeOptionTypeEnum]
pub fn merge_options(&self) -> &[MergeOptionTypeEnum]
The merge option or strategy used to merge the code.
sourcepub fn source_commit_id(&self) -> &str
pub fn source_commit_id(&self) -> &str
The commit ID of the source commit specifier that was used in the merge evaluation.
sourcepub fn destination_commit_id(&self) -> &str
pub fn destination_commit_id(&self) -> &str
The commit ID of the destination commit specifier that was used in the merge evaluation.
sourcepub fn base_commit_id(&self) -> &str
pub fn base_commit_id(&self) -> &str
The commit ID of the merge base.
source§impl GetMergeOptionsOutput
impl GetMergeOptionsOutput
sourcepub fn builder() -> GetMergeOptionsOutputBuilder
pub fn builder() -> GetMergeOptionsOutputBuilder
Creates a new builder-style object to manufacture GetMergeOptionsOutput
.
Trait Implementations§
source§impl Clone for GetMergeOptionsOutput
impl Clone for GetMergeOptionsOutput
source§fn clone(&self) -> GetMergeOptionsOutput
fn clone(&self) -> GetMergeOptionsOutput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for GetMergeOptionsOutput
impl Debug for GetMergeOptionsOutput
source§impl PartialEq for GetMergeOptionsOutput
impl PartialEq for GetMergeOptionsOutput
source§fn eq(&self, other: &GetMergeOptionsOutput) -> bool
fn eq(&self, other: &GetMergeOptionsOutput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetMergeOptionsOutput
impl RequestId for GetMergeOptionsOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
Returns the request ID, or
None
if the service could not be reached.impl StructuralPartialEq for GetMergeOptionsOutput
Auto Trait Implementations§
impl Freeze for GetMergeOptionsOutput
impl RefUnwindSafe for GetMergeOptionsOutput
impl Send for GetMergeOptionsOutput
impl Sync for GetMergeOptionsOutput
impl Unpin for GetMergeOptionsOutput
impl UnwindSafe for GetMergeOptionsOutput
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.