Struct aws_sdk_codecommit::operation::batch_describe_merge_conflicts::BatchDescribeMergeConflictsOutput
source · #[non_exhaustive]pub struct BatchDescribeMergeConflictsOutput {
pub conflicts: Vec<Conflict>,
pub next_token: Option<String>,
pub errors: Option<Vec<BatchDescribeMergeConflictsError>>,
pub destination_commit_id: String,
pub source_commit_id: String,
pub base_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.conflicts: Vec<Conflict>A list of conflicts for each file, including the conflict metadata and the hunks of the differences between the files.
next_token: Option<String>An enumeration token that can be used in a request to return the next batch of the results.
errors: Option<Vec<BatchDescribeMergeConflictsError>>A list of any errors returned while describing the merge conflicts for each file.
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.
Implementations§
source§impl BatchDescribeMergeConflictsOutput
impl BatchDescribeMergeConflictsOutput
sourcepub fn conflicts(&self) -> &[Conflict]
pub fn conflicts(&self) -> &[Conflict]
A list of conflicts for each file, including the conflict metadata and the hunks of the differences between the files.
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.
sourcepub fn errors(&self) -> &[BatchDescribeMergeConflictsError]
pub fn errors(&self) -> &[BatchDescribeMergeConflictsError]
A list of any errors returned while describing the merge conflicts for each file.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .errors.is_none().
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.
source§impl BatchDescribeMergeConflictsOutput
impl BatchDescribeMergeConflictsOutput
sourcepub fn builder() -> BatchDescribeMergeConflictsOutputBuilder
pub fn builder() -> BatchDescribeMergeConflictsOutputBuilder
Creates a new builder-style object to manufacture BatchDescribeMergeConflictsOutput.
Trait Implementations§
source§impl Clone for BatchDescribeMergeConflictsOutput
impl Clone for BatchDescribeMergeConflictsOutput
source§fn clone(&self) -> BatchDescribeMergeConflictsOutput
fn clone(&self) -> BatchDescribeMergeConflictsOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for BatchDescribeMergeConflictsOutput
impl PartialEq for BatchDescribeMergeConflictsOutput
source§fn eq(&self, other: &BatchDescribeMergeConflictsOutput) -> bool
fn eq(&self, other: &BatchDescribeMergeConflictsOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for BatchDescribeMergeConflictsOutput
impl RequestId for BatchDescribeMergeConflictsOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.