Struct aws_sdk_codecommit::operation::batch_get_commits::builders::BatchGetCommitsOutputBuilder
source · #[non_exhaustive]pub struct BatchGetCommitsOutputBuilder { /* private fields */ }
Expand description
A builder for BatchGetCommitsOutput
.
Implementations§
source§impl BatchGetCommitsOutputBuilder
impl BatchGetCommitsOutputBuilder
sourcepub fn commits(self, input: Commit) -> Self
pub fn commits(self, input: Commit) -> Self
Appends an item to commits
.
To override the contents of this collection use set_commits
.
An array of commit data type objects, each of which contains information about a specified commit.
sourcepub fn set_commits(self, input: Option<Vec<Commit>>) -> Self
pub fn set_commits(self, input: Option<Vec<Commit>>) -> Self
An array of commit data type objects, each of which contains information about a specified commit.
sourcepub fn get_commits(&self) -> &Option<Vec<Commit>>
pub fn get_commits(&self) -> &Option<Vec<Commit>>
An array of commit data type objects, each of which contains information about a specified commit.
sourcepub fn errors(self, input: BatchGetCommitsError) -> Self
pub fn errors(self, input: BatchGetCommitsError) -> Self
Appends an item to errors
.
To override the contents of this collection use set_errors
.
Returns any commit IDs for which information could not be found. For example, if one of the commit IDs was a shortened SHA ID or that commit was not found in the specified repository, the ID returns an error object with more information.
sourcepub fn set_errors(self, input: Option<Vec<BatchGetCommitsError>>) -> Self
pub fn set_errors(self, input: Option<Vec<BatchGetCommitsError>>) -> Self
Returns any commit IDs for which information could not be found. For example, if one of the commit IDs was a shortened SHA ID or that commit was not found in the specified repository, the ID returns an error object with more information.
sourcepub fn get_errors(&self) -> &Option<Vec<BatchGetCommitsError>>
pub fn get_errors(&self) -> &Option<Vec<BatchGetCommitsError>>
Returns any commit IDs for which information could not be found. For example, if one of the commit IDs was a shortened SHA ID or that commit was not found in the specified repository, the ID returns an error object with more information.
sourcepub fn build(self) -> BatchGetCommitsOutput
pub fn build(self) -> BatchGetCommitsOutput
Consumes the builder and constructs a BatchGetCommitsOutput
.
Trait Implementations§
source§impl Clone for BatchGetCommitsOutputBuilder
impl Clone for BatchGetCommitsOutputBuilder
source§fn clone(&self) -> BatchGetCommitsOutputBuilder
fn clone(&self) -> BatchGetCommitsOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BatchGetCommitsOutputBuilder
impl Debug for BatchGetCommitsOutputBuilder
source§impl Default for BatchGetCommitsOutputBuilder
impl Default for BatchGetCommitsOutputBuilder
source§fn default() -> BatchGetCommitsOutputBuilder
fn default() -> BatchGetCommitsOutputBuilder
source§impl PartialEq for BatchGetCommitsOutputBuilder
impl PartialEq for BatchGetCommitsOutputBuilder
source§fn eq(&self, other: &BatchGetCommitsOutputBuilder) -> bool
fn eq(&self, other: &BatchGetCommitsOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BatchGetCommitsOutputBuilder
Auto Trait Implementations§
impl Freeze for BatchGetCommitsOutputBuilder
impl RefUnwindSafe for BatchGetCommitsOutputBuilder
impl Send for BatchGetCommitsOutputBuilder
impl Sync for BatchGetCommitsOutputBuilder
impl Unpin for BatchGetCommitsOutputBuilder
impl UnwindSafe for BatchGetCommitsOutputBuilder
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