#[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.