#[non_exhaustive]pub struct PublishBatchOutputBuilder { /* private fields */ }Expand description
A builder for PublishBatchOutput.
Implementations§
source§impl PublishBatchOutputBuilder
impl PublishBatchOutputBuilder
sourcepub fn successful(self, input: PublishBatchResultEntry) -> Self
pub fn successful(self, input: PublishBatchResultEntry) -> Self
Appends an item to successful.
To override the contents of this collection use set_successful.
A list of successful PublishBatch responses.
sourcepub fn set_successful(self, input: Option<Vec<PublishBatchResultEntry>>) -> Self
pub fn set_successful(self, input: Option<Vec<PublishBatchResultEntry>>) -> Self
A list of successful PublishBatch responses.
sourcepub fn get_successful(&self) -> &Option<Vec<PublishBatchResultEntry>>
pub fn get_successful(&self) -> &Option<Vec<PublishBatchResultEntry>>
A list of successful PublishBatch responses.
sourcepub fn failed(self, input: BatchResultErrorEntry) -> Self
pub fn failed(self, input: BatchResultErrorEntry) -> Self
Appends an item to failed.
To override the contents of this collection use set_failed.
A list of failed PublishBatch responses.
sourcepub fn set_failed(self, input: Option<Vec<BatchResultErrorEntry>>) -> Self
pub fn set_failed(self, input: Option<Vec<BatchResultErrorEntry>>) -> Self
A list of failed PublishBatch responses.
sourcepub fn get_failed(&self) -> &Option<Vec<BatchResultErrorEntry>>
pub fn get_failed(&self) -> &Option<Vec<BatchResultErrorEntry>>
A list of failed PublishBatch responses.
sourcepub fn build(self) -> PublishBatchOutput
pub fn build(self) -> PublishBatchOutput
Consumes the builder and constructs a PublishBatchOutput.
Trait Implementations§
source§impl Clone for PublishBatchOutputBuilder
impl Clone for PublishBatchOutputBuilder
source§fn clone(&self) -> PublishBatchOutputBuilder
fn clone(&self) -> PublishBatchOutputBuilder
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 PublishBatchOutputBuilder
impl Debug for PublishBatchOutputBuilder
source§impl Default for PublishBatchOutputBuilder
impl Default for PublishBatchOutputBuilder
source§fn default() -> PublishBatchOutputBuilder
fn default() -> PublishBatchOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for PublishBatchOutputBuilder
impl PartialEq for PublishBatchOutputBuilder
source§fn eq(&self, other: &PublishBatchOutputBuilder) -> bool
fn eq(&self, other: &PublishBatchOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for PublishBatchOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for PublishBatchOutputBuilder
impl Send for PublishBatchOutputBuilder
impl Sync for PublishBatchOutputBuilder
impl Unpin for PublishBatchOutputBuilder
impl UnwindSafe for PublishBatchOutputBuilder
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.