#[non_exhaustive]pub struct BatchWriteOutputBuilder { /* private fields */ }Expand description
A builder for BatchWriteOutput.
Implementations§
source§impl BatchWriteOutputBuilder
impl BatchWriteOutputBuilder
sourcepub fn responses(self, input: BatchWriteOperationResponse) -> Self
pub fn responses(self, input: BatchWriteOperationResponse) -> Self
Appends an item to responses.
To override the contents of this collection use set_responses.
A list of all the responses for each batch write.
sourcepub fn set_responses(
self,
input: Option<Vec<BatchWriteOperationResponse>>
) -> Self
pub fn set_responses( self, input: Option<Vec<BatchWriteOperationResponse>> ) -> Self
A list of all the responses for each batch write.
sourcepub fn get_responses(&self) -> &Option<Vec<BatchWriteOperationResponse>>
pub fn get_responses(&self) -> &Option<Vec<BatchWriteOperationResponse>>
A list of all the responses for each batch write.
sourcepub fn build(self) -> BatchWriteOutput
pub fn build(self) -> BatchWriteOutput
Consumes the builder and constructs a BatchWriteOutput.
Trait Implementations§
source§impl Clone for BatchWriteOutputBuilder
impl Clone for BatchWriteOutputBuilder
source§fn clone(&self) -> BatchWriteOutputBuilder
fn clone(&self) -> BatchWriteOutputBuilder
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 BatchWriteOutputBuilder
impl Debug for BatchWriteOutputBuilder
source§impl Default for BatchWriteOutputBuilder
impl Default for BatchWriteOutputBuilder
source§fn default() -> BatchWriteOutputBuilder
fn default() -> BatchWriteOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for BatchWriteOutputBuilder
impl PartialEq for BatchWriteOutputBuilder
source§fn eq(&self, other: &BatchWriteOutputBuilder) -> bool
fn eq(&self, other: &BatchWriteOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for BatchWriteOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for BatchWriteOutputBuilder
impl Send for BatchWriteOutputBuilder
impl Sync for BatchWriteOutputBuilder
impl Unpin for BatchWriteOutputBuilder
impl UnwindSafe for BatchWriteOutputBuilder
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>
Creates a shared type from an unshared type.