#[non_exhaustive]pub struct GetMergeConflictsOutput {
pub mergeable: bool,
pub destination_commit_id: String,
pub source_commit_id: String,
pub base_commit_id: Option<String>,
pub conflict_metadata_list: Vec<ConflictMetadata>,
pub next_token: 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.mergeable: boolA Boolean value that indicates whether the code is mergeable by the specified merge option.
destination_commit_id: StringThe commit ID of the destination commit specifier that was used in the merge evaluation.
source_commit_id: StringThe commit ID of the source commit specifier that was used in the merge evaluation.
base_commit_id: Option<String>The commit ID of the merge base.
conflict_metadata_list: Vec<ConflictMetadata>A list of metadata for any conflicting files. If the specified merge strategy is FAST_FORWARD_MERGE, this list is always empty.
next_token: Option<String>An enumeration token that can be used in a request to return the next batch of the results.
Implementations§
source§impl GetMergeConflictsOutput
impl GetMergeConflictsOutput
sourcepub fn mergeable(&self) -> bool
pub fn mergeable(&self) -> bool
A Boolean value that indicates whether the code is mergeable by the specified merge option.
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 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 base_commit_id(&self) -> Option<&str>
pub fn base_commit_id(&self) -> Option<&str>
The commit ID of the merge base.
sourcepub fn conflict_metadata_list(&self) -> &[ConflictMetadata]
pub fn conflict_metadata_list(&self) -> &[ConflictMetadata]
A list of metadata for any conflicting files. If the specified merge strategy is FAST_FORWARD_MERGE, this list is always empty.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
An enumeration token that can be used in a request to return the next batch of the results.
source§impl GetMergeConflictsOutput
impl GetMergeConflictsOutput
sourcepub fn builder() -> GetMergeConflictsOutputBuilder
pub fn builder() -> GetMergeConflictsOutputBuilder
Creates a new builder-style object to manufacture GetMergeConflictsOutput.
Trait Implementations§
source§impl Clone for GetMergeConflictsOutput
impl Clone for GetMergeConflictsOutput
source§fn clone(&self) -> GetMergeConflictsOutput
fn clone(&self) -> GetMergeConflictsOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GetMergeConflictsOutput
impl Debug for GetMergeConflictsOutput
source§impl PartialEq for GetMergeConflictsOutput
impl PartialEq for GetMergeConflictsOutput
source§fn eq(&self, other: &GetMergeConflictsOutput) -> bool
fn eq(&self, other: &GetMergeConflictsOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for GetMergeConflictsOutput
impl RequestId for GetMergeConflictsOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.impl StructuralPartialEq for GetMergeConflictsOutput
Auto Trait Implementations§
impl Freeze for GetMergeConflictsOutput
impl RefUnwindSafe for GetMergeConflictsOutput
impl Send for GetMergeConflictsOutput
impl Sync for GetMergeConflictsOutput
impl Unpin for GetMergeConflictsOutput
impl UnwindSafe for GetMergeConflictsOutput
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